public class BooleanParameter extends SimpleParameter<Boolean>
defaultValue, hasDefaultValue, name, value| Constructor and Description |
|---|
BooleanParameter(ParameterizedBase owner,
String name)
Set the parameter name and add this parameter to the list of parameters stored by owner.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.flink.api.java.utils.ParameterTool parameterTool)
Read and parse the parameter value from command-line arguments.
|
String |
getUsage()
An informal usage string.
|
String |
toString() |
getValue, isHidden, setDefaultValuepublic BooleanParameter(ParameterizedBase owner, String name)
owner - the Parameterized using this Parametername - the parameter namepublic String getUsage()
ParameterOptional parameters are enclosed by "[" and "]".
Generic values are represented by all-caps with specific values enclosed by "<" and ">".
public void configure(org.apache.flink.api.java.utils.ParameterTool parameterTool)
ParameterparameterTool - parameter parserCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.