|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.ConstantObject<OptionID> de.lmu.ifi.dbs.elki.utilities.optionhandling.OptionID
public final class OptionID
An OptionID is used by option handlers as a unique identifier for specific options. There is no option possible without a specific OptionID defined within this class.
Field Summary | |
---|---|
static OptionID |
ALGORITHM
OptionID for AlgorithmStep |
static OptionID |
DATABASE
OptionID for InputStep |
static OptionID |
DATABASE_CONNECTION
OptionID for InputStep |
static OptionID |
DEBUG
Optional Parameter to specify a class to enable debugging for. |
private String |
description
The description of the OptionID. |
static OptionID |
DESCRIPTION
Optional Parameter to specify a class to obtain a description for. |
static OptionID |
EVALUATOR
OptionID for EvaluationStep |
static OptionID |
HELP
Flag to obtain help-message. |
static OptionID |
HELP_LONG
Flag to obtain help-message. |
static OptionID |
OUTPUT
OptionID for the application output file/folder |
static OptionID |
RESULT_HANDLER
OptionID for OutputStep |
static OptionID |
VERBOSE_FLAG
Flag to allow verbose messages while running the application. |
Constructor Summary | |
---|---|
private |
OptionID(String name,
String description)
Provides a new OptionID of the given name and description. |
Method Summary | |
---|---|
String |
getDescription()
Returns the description of this OptionID. |
static OptionID |
getOptionID(String name)
Returns the OptionID for the given name if it exists, null otherwise. |
static OptionID |
getOrCreateOptionID(String name,
String description)
Gets or creates the OptionID for the given class and given name. |
void |
setDescription(String description)
Sets the description of this OptionID. |
String |
toString()
Returns the name of this OptionID. |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.ConstantObject |
---|
compareTo, equals, getName, hashCode, lookup, readResolve |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final OptionID HELP
Key: -h
public static final OptionID HELP_LONG
Key: -help
public static final OptionID ALGORITHM
AlgorithmStep
public static final OptionID DESCRIPTION
Key: -description
public static final OptionID DEBUG
Key: -enableDebug
public static final OptionID DATABASE
InputStep
public static final OptionID DATABASE_CONNECTION
InputStep
public static final OptionID EVALUATOR
EvaluationStep
public static final OptionID RESULT_HANDLER
OutputStep
public static final OptionID OUTPUT
public static final OptionID VERBOSE_FLAG
Key: -verbose
private String description
Constructor Detail |
---|
private OptionID(String name, String description)
name
- the name of the optiondescription
- the description of the optionMethod Detail |
---|
public String getDescription()
public void setDescription(String description)
description
- the description to be setpublic static OptionID getOrCreateOptionID(String name, String description)
epsilon
for the class
DBSCAN
will be named
dbscan.epsilon
.
name
- the namedescription
- the description is also set if the named OptionID does
exist already
public static OptionID getOptionID(String name)
name
- name of the desired OptionID
public String toString()
toString
in class Object
Object.toString()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |