Package | Description |
---|---|
org.apache.flink.api.java.utils |
Modifier and Type | Method and Description |
---|---|
Option |
RequiredParameters.add(String name)
Add a parameter based on its name.
|
Option |
Option.alt(String shortName)
Define an alternative / short name of the parameter.
|
Option |
Option.choices(String... choices)
Restrict the list of possible values of the parameter.
|
Option |
Option.defaultValue(String defaultValue)
Define a default value for the option.
|
Option |
Option.help(String helpText)
Add a help text, explaining the parameter.
|
Option |
Option.type(OptionType type)
Define the type of the Option.
|
Modifier and Type | Method and Description |
---|---|
void |
RequiredParameters.add(Option option)
Add a parameter encapsulated in an
Option object. |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.