Class SimpleCommandLineParser.LongOption
- java.lang.Object
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.ValueOption<Long>
-
- de.gebit.integrity.runner.console.SimpleCommandLineParser.LongOption
-
- Enclosing class:
- SimpleCommandLineParser
public static class SimpleCommandLineParser.LongOption extends SimpleCommandLineParser.ValueOption<Long>
Long option.- Author:
- Rene Schneider - initial API and implementation
-
-
Constructor Summary
Constructors Constructor Description LongOption(String aShortName, String aLongName)Creates a long option.LongOption(String aShortName, String aLongName, String aDescription)Creates a new integer option.LongOption(String aShortName, String aLongName, String aDescription, String aCommandLine)Creates a new integer option.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddValue(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
-
LongOption
public LongOption(String aShortName, String aLongName)
Creates a long 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.
-
LongOption
public LongOption(String aShortName, String aLongName, String aDescription)
Creates a new integer 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.
-
LongOption
public LongOption(String aShortName, String aLongName, String aDescription, String aCommandLine)
Creates a new integer 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(String aValue)
Sets a value.- Specified by:
addValuein classSimpleCommandLineParser.ValueOption<Long>- Parameters:
aValue- the value
-
-