public abstract static class AbstractApplication.Parameterizer extends AbstractParameterizer
Modifier and Type | Field and Description |
---|---|
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 |
---|
AbstractApplication.Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected File |
getParameterInputFile(Parameterization config)
Get the input file parameter.
|
protected File |
getParameterInputFile(Parameterization config,
String description)
Get the input file parameter
|
protected File |
getParameterOutputFile(Parameterization config)
Get the output file parameter.
|
protected File |
getParameterOutputFile(Parameterization config,
String description)
Get the output file parameter.
|
protected abstract AbstractApplication |
makeInstance()
Make an instance after successful configuration.
|
configure, make, makeOptions
public static final OptionID OUTPUT_ID
Key: -app.out
public static final OptionID INPUT_ID
Key: -app.in
public static final OptionID HELP_ID
Key: -h
public static final OptionID HELP_LONG_ID
Key: -help
public static final OptionID DESCRIPTION_ID
Key: -description
public static final OptionID DEBUG_ID
Key: -enableDebug
public static final OptionID VERBOSE_ID
Key: -verbose
protected File getParameterOutputFile(Parameterization config)
config
- Optionsprotected File getParameterOutputFile(Parameterization config, String description)
config
- Optionsdescription
- Short descriptionprotected File getParameterInputFile(Parameterization config)
config
- Optionsprotected File getParameterInputFile(Parameterization config, String description)
config
- Optionsdescription
- Descriptionprotected abstract AbstractApplication makeInstance()
AbstractParameterizer
makeInstance
in class AbstractParameterizer
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.