Uses of Class
org.apache.commons.cli.OptionGroup
-
Uses of OptionGroup in org.apache.commons.cli
Modifier and TypeMethodDescriptionAdds the givenOption
to this group.AlreadySelectedException.getOptionGroup()
Gets the option group where another option has been selected.Options.getOptionGroup
(Option opt) Gets the OptionGroup theopt
belongs to.Modifier and TypeMethodDescriptionOptions.addOptionGroup
(OptionGroup group) Adds the specified option group.CommandLine.getOptionValue
(OptionGroup optionGroup) Gets the first argument, if any, of this option group.CommandLine.getOptionValue
(OptionGroup optionGroup, String defaultValue) Gets the first argument, if any, of an option group.CommandLine.getOptionValue
(OptionGroup optionGroup, Supplier<String> defaultValue) Gets the first argument, if any, of an option group.String[]
CommandLine.getOptionValues
(OptionGroup optionGroup) Gets the array of values, if any, of an option group.<T> T
CommandLine.getParsedOptionValue
(OptionGroup optionGroup) Gets a version of thisOptionGroup
converted to a particular type.<T> T
CommandLine.getParsedOptionValue
(OptionGroup optionGroup, Supplier<T> defaultValue) Gets a version of thisOptionGroup
converted to a particular type.<T> T
CommandLine.getParsedOptionValue
(OptionGroup optionGroup, T defaultValue) Gets a version of thisOptionGroup
converted to a particular type.boolean
CommandLine.hasOption
(OptionGroup optionGroup) Tests to see if an option has been set.ModifierConstructorDescriptionAlreadySelectedException
(OptionGroup group, Option option) Constructs a newAlreadySelectedException
for the specified option group.