Uses of Class
org.apache.commons.cli.OptionGroup
-
-
Uses of OptionGroup in org.apache.commons.cli
Fields in org.apache.commons.cli declared as OptionGroup Modifier and Type Field Description private OptionGroupAlreadySelectedException. groupThe option group selected.Fields in org.apache.commons.cli with type parameters of type OptionGroup Modifier and Type Field Description private java.util.Map<java.lang.String,OptionGroup>Options. optionGroupsa map of the option groupsMethods in org.apache.commons.cli that return OptionGroup Modifier and Type Method Description OptionGroupOptionGroup. addOption(Option option)Add the specifiedOptionto this group.OptionGroupAlreadySelectedException. getOptionGroup()Returns the option group where another option has been selected.OptionGroupOptions. getOptionGroup(Option opt)Returns the OptionGroup theoptbelongs to.Methods in org.apache.commons.cli that return types with arguments of type OptionGroup Modifier and Type Method Description (package private) java.util.Collection<OptionGroup>Options. getOptionGroups()Lists the OptionGroups that are members of this Options instance.Methods in org.apache.commons.cli with parameters of type OptionGroup Modifier and Type Method Description OptionsOptions. addOptionGroup(OptionGroup group)Add the specified option group.private voidHelpFormatter. appendOptionGroup(java.lang.StringBuffer buff, OptionGroup group)Appends the usage clause for an OptionGroup to a StringBuffer.Constructors in org.apache.commons.cli with parameters of type OptionGroup Constructor Description AlreadySelectedException(OptionGroup group, Option option)Construct a newAlreadySelectedExceptionfor the specified option group.
-