| Modifier and Type | Field and Description |
|---|---|
private OptionGroup |
AlreadySelectedException.group
The option group selected.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,OptionGroup> |
Options.optionGroups
a map of the option groups
|
| Modifier and Type | Method and Description |
|---|---|
OptionGroup |
OptionGroup.addOption(Option option)
Add the specified
Option to this group. |
OptionGroup |
AlreadySelectedException.getOptionGroup()
Returns the option group where another option has been selected.
|
OptionGroup |
Options.getOptionGroup(Option opt)
Returns the OptionGroup the
opt belongs to. |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Collection<OptionGroup> |
Options.getOptionGroups()
Lists the OptionGroups that are members of this Options instance.
|
| Modifier and Type | Method and Description |
|---|---|
Options |
Options.addOptionGroup(OptionGroup group)
Add the specified option group.
|
private void |
HelpFormatter.appendOptionGroup(java.lang.StringBuffer buff,
OptionGroup group)
Appends the usage clause for an OptionGroup to a StringBuffer.
|
| Constructor and Description |
|---|
AlreadySelectedException(OptionGroup group,
Option option)
Construct a new
AlreadySelectedException
for the specified option group. |