java.io.Serializable
AbstractClassOption
, AbstractClassOption
, AbstractOption
, ClassOption
, ClassOption
, ClassOptionWithListenerOption
, ClassOptionWithNames
, EditableMultiChoiceOption
, FileOption
, FlagOption
, FloatOption
, IntOption
, ListOption
, MultiChoiceOption
, RangeOption
, StringOption
, WEKAClassOption
public interface Option
extends java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
Option |
copy() |
Gets a copy of this option
|
char |
getCLIChar() |
Gets the Command Line Interface text of this option
|
java.lang.String |
getDefaultCLIString() |
Gets the Command Line Interface text
|
java.lang.String |
getName() |
Gets the name of this option
|
java.lang.String |
getPurpose() |
Gets the purpose of this option
|
java.lang.String |
getStateString() |
Gets the state of this option in human readable form
|
java.lang.String |
getValueAsCLIString() |
Gets the value of a Command Line Interface text as a string
|
void |
resetToDefault() |
Resets this option to the default value
|
void |
setValueViaCLIString(java.lang.String s) |
Sets value of this option via the Command Line Interface text
|
java.lang.String getName()
char getCLIChar()
java.lang.String getPurpose()
java.lang.String getDefaultCLIString()
void setValueViaCLIString(java.lang.String s)
s
- the Command Line Interface textjava.lang.String getValueAsCLIString()
void resetToDefault()
java.lang.String getStateString()
Option copy()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.