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
ConstructorsConstructorDescriptionLongOption(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
Methods inherited from class de.gebit.integrity.runner.console.SimpleCommandLineParser.ValueOption
addValueInternal, getValue, getValue, getValuesMethods inherited from class de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
getCommandLine, getDescription, getHelpLine, getLongName, getShortName, matches
-
Constructor Details
-
LongOption
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
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
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 Details
-
addValue
Sets a value.- Specified by:
addValuein classSimpleCommandLineParser.ValueOption<Long>- Parameters:
aValue- the value
-