Class SimpleCommandLineParser.BooleanOption
java.lang.Object
de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
de.gebit.integrity.runner.console.SimpleCommandLineParser.BooleanOption
- Enclosing class:
SimpleCommandLineParser
A boolean command line option.
- Author:
- Rene Schneider - initial API and implementation
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanOption(String aShortName, String aLongName) Creates a new boolean option.BooleanOption(String aShortName, String aLongName, String aDescription) Creates a new boolean option.BooleanOption(String aShortName, String aLongName, String aDescription, String aCommandLine) Creates a new boolean option. -
Method Summary
Methods inherited from class de.gebit.integrity.runner.console.SimpleCommandLineParser.Option
getCommandLine, getDescription, getHelpLine, getLongName, getShortName
-
Constructor Details
-
BooleanOption
Creates a new boolean 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.
-
BooleanOption
Creates a new boolean 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.
-
BooleanOption
Creates a new boolean 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
-
matches
Description copied from class:SimpleCommandLineParser.OptionChecks whether this matches a given parameter.- Overrides:
matchesin classSimpleCommandLineParser.Option- Parameters:
aParameter- the parameter- Returns:
- true if a match is found, false otherwise
-
isSet
public boolean isSet()
-