T
- parameter value typepublic interface Parameter<T>
Modifier and Type | Method and Description |
---|---|
void |
configure(ParameterTool parameterTool)
Read and parse the parameter value from command-line arguments.
|
String |
getUsage()
An informal usage string.
|
T |
getValue()
Get the parameter value.
|
boolean |
isHidden()
A hidden parameter is parsed from the command-line configuration but is
not printed in the usage string.
|
String getUsage()
Optional parameters are enclosed by "[" and "]".
Generic values are represented by all-caps with specific values enclosed by "<" and ">".
boolean isHidden()
void configure(ParameterTool parameterTool)
parameterTool
- parameter parserT getValue()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.