T - The type of Configuration that this builder creates.public static interface Configuration.Builder<T extends Configuration>
Configuration.| Modifier and Type | Method and Description |
|---|---|
T |
build(String[] args)
Builds the
Configuration from the given command-line arguments. |
void |
printUsage()
Prints the command-line usage for the application based on the options supported by this
builder.
|
T build(String[] args)
Configuration from the given command-line arguments.IllegalArgumentException - if unable to build the configuration for any reason.void printUsage()