com.mindbright.terminal
public class TerminalOption extends java.lang.Object
Constructor and Description |
---|
TerminalOption(java.lang.String key,
java.lang.String description,
java.lang.String defValue) |
TerminalOption(java.lang.String key,
java.lang.String description,
java.lang.String defValue,
java.lang.String[] choices) |
Modifier and Type | Method and Description |
---|---|
TerminalOption |
copy() |
java.lang.String[] |
getChoices() |
java.lang.String |
getDefault() |
java.lang.String |
getDescription() |
java.lang.String |
getKey() |
java.lang.String |
getValue() |
boolean |
getValueB() |
void |
setValue(java.lang.String v) |
public TerminalOption(java.lang.String key, java.lang.String description, java.lang.String defValue)
public TerminalOption(java.lang.String key, java.lang.String description, java.lang.String defValue, java.lang.String[] choices)
public TerminalOption copy()
public java.lang.String getKey()
public java.lang.String getDescription()
public java.lang.String getDefault()
public java.lang.String[] getChoices()
public java.lang.String getValue()
public boolean getValueB()
public void setValue(java.lang.String v)