public class StringOption extends AbstractOption
Modifier and Type | Field and Description |
---|---|
protected String |
currentVal |
protected String |
defaultVal |
cliChar, illegalNameCharacters, name, purpose
Constructor and Description |
---|
StringOption(String name,
char cliChar,
String purpose,
String defaultVal) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultCLIString()
Gets the Command Line Interface text
|
String |
getValue() |
String |
getValueAsCLIString()
Gets the value of a Command Line Interface text as a string
|
void |
setValue(String v) |
void |
setValueViaCLIString(String s)
Sets value of this option via the Command Line Interface text
|
copy, getCLIChar, getName, getPurpose, getStateString, nameIsLegal, resetToDefault
public void setValue(String v)
public String getValue()
public String getDefaultCLIString()
Option
public String getValueAsCLIString()
Option
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.