public static class AbstractUI.OptionalArgument extends AbstractUI.Argument
| Constructor and Description |
|---|
AbstractUI.OptionalArgument(java.lang.String name,
java.lang.String description,
java.util.List<AbstractUI.Definition> values,
java.lang.String defaultValue)
Creates a new optional argument with a finite list of acceptable values.
|
AbstractUI.OptionalArgument(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue)
Creates a new optional argument
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefault()
Gets the default value.
|
getValues, hasValuesgetDescription, getNamepublic AbstractUI.OptionalArgument(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue)
name - the name of the argumentdescription - the description of the argumentdefaultValue - the default value for the argumentpublic AbstractUI.OptionalArgument(java.lang.String name,
java.lang.String description,
java.util.List<AbstractUI.Definition> values,
java.lang.String defaultValue)
name - the name of the argumentdescription - the description of the argumentvalues - the list of acceptable valuesdefaultValue - the default value for the argument