public final class OptionID extends ConstantObject<OptionID>
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier | Constructor and Description |
---|---|
private |
OptionID(String name,
String description)
Provides a new OptionID of the given name and description.
|
Modifier and Type | Method and Description |
---|---|
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.
|
compareTo, equals, getName, hashCode, lookup, readResolve
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 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
private OptionID(String name, String description)
name
- the name of the optiondescription
- the description of the optionpublic 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 alreadypublic static OptionID getOptionID(String name)
name
- name of the desired OptionIDpublic String toString()
toString
in class Object
Object.toString()