Package dk.eSoftware.commandLineParser
Interface CommandLineParser.ConfigBuilder<T extends Configuration>
-
- All Known Implementing Classes:
GeneralConfigurationBuilder
- Enclosing class:
- CommandLineParser<T extends Configuration>
public static interface CommandLineParser.ConfigBuilder<T extends Configuration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyCommand(CommandLineParser.Command command)Applies the given command to the builderTbuild()Builds configuration from current statejava.lang.Stringhelp()
-
-
-
Method Detail
-
applyCommand
void applyCommand(CommandLineParser.Command command) throws UnknownCommandException
Applies the given command to the builder- Parameters:
command- command to apply- Throws:
UnknownCommandException
-
build
T build()
Builds configuration from current state- Returns:
- the configuration object
-
help
java.lang.String help()
- Returns:
- a proper terminal-formatted help message describing arguments and their parameters for this configuration
-
-