Class SimpleCommandLineParser.DecimalOption
- java.lang.Object
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.ValueOption<java.math.BigDecimal>
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.DecimalOption
-
- Enclosing class:
- SimpleCommandLineParser
public static class SimpleCommandLineParser.DecimalOption extends SimpleCommandLineParser.ValueOption<java.math.BigDecimal>
Decimal option.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description DecimalOption(java.lang.String aShortName, java.lang.String aLongName)
Creates a new decimal option.DecimalOption(java.lang.String aShortName, java.lang.String aLongName, java.lang.String aDescription)
Creates a new decimal option.DecimalOption(java.lang.String aShortName, java.lang.String aLongName, java.lang.String aDescription, java.lang.String aCommandLine)
Creates a new decimal option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addValue(java.lang.String aValue)
Sets a value.-
Methods inherited from class de.gebit.integrity.runner.console.SimpleCommandLineParser.ValueOption
addValueInternal, getValue, getValue, getValues
-
Methods inherited from class de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
getCommandLine, getDescription, getHelpLine, getLongName, getShortName, matches
-
-
-
-
Constructor Detail
-
DecimalOption
public DecimalOption(java.lang.String aShortName, java.lang.String aLongName)
Creates a new decimal option.- Parameters:
aShortName
- The short name of the option. Usually just one character.aLongName
- The long name of the option, generelly a comprehendable, but not-too-long string.
-
DecimalOption
public DecimalOption(java.lang.String aShortName, java.lang.String aLongName, java.lang.String aDescription)
Creates a new decimal option.- Parameters:
aShortName
- The short name of the option. Usually just one character.aLongName
- The long name of the option, generelly a comprehendable, but not-too-long string.aDescription
- The command line help string for this option.
-
DecimalOption
public DecimalOption(java.lang.String aShortName, java.lang.String aLongName, java.lang.String aDescription, java.lang.String aCommandLine)
Creates a new decimal option.- Parameters:
aShortName
- The short name of the option. Usually just one character.aLongName
- The long name of the option, generelly a comprehendable, but not-too-long string.aDescription
- The command line help string for this option.aCommandLine
- The description for the help.
-
-
Method Detail
-
addValue
protected void addValue(java.lang.String aValue)
Sets a value.- Specified by:
addValue
in classSimpleCommandLineParser.ValueOption<java.math.BigDecimal>
- Parameters:
aValue
- the value
-
-