public class SingletonCommandLineParser extends CommandLineParser
CommandLineParser.Command, CommandLineParser.ConfigBuilder| Constructor and Description |
|---|
SingletonCommandLineParser(CommandLineParser.ConfigBuilder builder)
Constructor for a
CommandLineParser with only one mode of operations. |
| Modifier and Type | Method and Description |
|---|---|
protected CommandLineParser.ConfigBuilder |
getConfigBuilder(String firstParam)
Method that must be implemented retrieving the correct configBuilder given first argument
|
String |
help() |
parsepublic SingletonCommandLineParser(CommandLineParser.ConfigBuilder builder)
CommandLineParser with only one mode of operations.builder - the singleton builderprotected CommandLineParser.ConfigBuilder getConfigBuilder(String firstParam)
CommandLineParsergetConfigBuilder in class CommandLineParserfirstParam - first argument from commandlineCommandLineParser.ConfigBuilder to be used in parsingpublic String help()
help in class CommandLineParserCopyright © 2020. All rights reserved.