public class GeneralConfigurationBuilder<T extends Configuration> extends Object implements CommandLineParser.ConfigBuilder<T>
| Constructor and Description |
|---|
GeneralConfigurationBuilder(Class<T> configurationClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyCommand(CommandLineParser.Command command)
Applies the given command to the builder
|
T |
build()
Builds configuration from current state
|
String |
help() |
public void applyCommand(CommandLineParser.Command command) throws UnknownCommandException
CommandLineParser.ConfigBuilderapplyCommand in interface CommandLineParser.ConfigBuilder<T extends Configuration>command - command to applyUnknownCommandExceptionpublic T build()
CommandLineParser.ConfigBuilderbuild in interface CommandLineParser.ConfigBuilder<T extends Configuration>public String help()
help in interface CommandLineParser.ConfigBuilder<T extends Configuration>Copyright © 2022. All rights reserved.