Home
last modified time | relevance | path

Searched refs:flagName (Results 1 – 1 of 1) sorted by relevance

/tools/appbundle/bundletool/java/com/android/tools/appbundle/bundletool/utils/
DFlagParser.java85 public boolean isFlagSet(String flagName) { in isFlagSet() argument
86 return flags.containsKey(flagName); in isFlagSet()
90 public Optional<String> getFlagValue(String flagName) { in getFlagValue() argument
91 return Optional.ofNullable(flags.get(flagName)); in getFlagValue()
101 public String getRequiredFlagValue(String flagName) { in getRequiredFlagValue() argument
102 return getFlagValue(flagName) in getRequiredFlagValue()
106 String.format("Missing the required --%s flag.", flagName))); in getRequiredFlagValue()
110 public String getFlagValueOrDefault(String flagName, String defaultValue) { in getFlagValueOrDefault() argument
111 return flags.getOrDefault(flagName, defaultValue); in getFlagValueOrDefault()
114 public Optional<Path> getFlagValueAsPath(String flagName) { in getFlagValueAsPath() argument
[all …]