| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.OptionDefinition |
Known Direct Subclasses
|
An implementation for an option description.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
OptionDefinition(String description)
Define a new
option with a single text to display. | |||||||||||
|
OptionDefinition(String name, String description)
Define a new
option. | |||||||||||
|
OptionDefinition(String name, String defaultValue, String description)
Define a new
option. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | getDefaultValue() | ||||||||||
| String |
getDescription()
Get the option description.
| ||||||||||
| String |
getName()
Get the definition name.
| ||||||||||
| Object |
getOptions()
Optional additional options
| ||||||||||
| ITypedOptionDefinition.Type |
getType()
Retrieve the type of the option
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.IOptionDefinition
| |||||||||||
From interface
com.pnfsoftware.jeb.core.ITypedOptionDefinition
| |||||||||||
Define a new option with a single text to display.
| description | description |
|---|
Define a new option.
| name | non-empty name. If null, will display a single text line (prefer
OptionDefinition(String) in this case). |
|---|---|
| description | optional description |
Define a new option.
| name | mandatory name |
|---|
Get the option description.
Get the definition name. If name is null, then this option is a simple description field.
Optional additional options