public abstract static class AbstractApplication.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
static OptionID |
DATABASE_ID
Option ID to specify the database type
|
static OptionID |
DEBUG_ID
Optional Parameter to specify a class to enable debugging for.
|
static OptionID |
DESCRIPTION_ID
Optional Parameter to specify a class to obtain a description for.
|
static OptionID |
HELP_ID
Flag to obtain help-message.
|
static OptionID |
HELP_LONG_ID
Flag to obtain help-message.
|
static OptionID |
INPUT_ID
Parameter that specifies the name of the input file.
|
static OptionID |
OUTPUT_ID
Parameter that specifies the name of the output file.
|
static OptionID |
VERBOSE_ID
Flag to allow verbose messages while running the application.
|
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
getParameterInputFile(Parameterization config)
Get the input file parameter.
|
protected java.io.File |
getParameterInputFile(Parameterization config,
java.lang.String description)
Get the input file parameter
|
protected java.io.File |
getParameterOutputFile(Parameterization config)
Get the output file parameter.
|
protected java.io.File |
getParameterOutputFile(Parameterization config,
java.lang.String description)
Get the output file parameter.
|
protected abstract AbstractApplication |
makeInstance()
Make an instance after successful configuration.
|
static void |
parseDebugParameter(StringParameter param)
Parse the option string to configure logging.
|
configure, make, makeOptions
public static final OptionID OUTPUT_ID
public static final OptionID INPUT_ID
public static final OptionID DATABASE_ID
public static final OptionID HELP_ID
public static final OptionID HELP_LONG_ID
public static final OptionID DESCRIPTION_ID
public static final OptionID DEBUG_ID
public static final OptionID VERBOSE_ID
protected java.io.File getParameterOutputFile(Parameterization config)
config
- Optionsprotected java.io.File getParameterOutputFile(Parameterization config, java.lang.String description)
config
- Optionsdescription
- Short descriptionprotected java.io.File getParameterInputFile(Parameterization config)
config
- Optionsprotected java.io.File getParameterInputFile(Parameterization config, java.lang.String description)
config
- Optionsdescription
- Descriptionpublic static final void parseDebugParameter(StringParameter param) throws WrongParameterValueException
param
- Parameter to process.WrongParameterValueException
- On parsing errorsprotected abstract AbstractApplication makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2019 ELKI Development Team. License information.