java.lang.Object | |
↳ | org.apache.commons.betwixt.Options |
Collective for Betwixt
optional behaviour hints.
An option links a name with a value (both strings).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the option.
| |||||||||||
Adds multiple options from an existing
Options collection. | |||||||||||
Gets the names of each option.
| |||||||||||
Gets the value (if any) associated with the given name.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds the option. The rule with options is that the last call to set the value with a given name wins.
name | String name, not null |
---|---|
value | Strong name, not null
|
Adds multiple options from an existing Options
collection.
The rule with options is that the most recently set value for an option
wins, so options are potentially overwritten by this call.
options | -
an existing Options collection |
---|
Gets the names of each option.
String
array containing the name of each option
Gets the value (if any) associated with the given name.
name | String , not null |
---|