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