Enum CliInputView.InputOperation
- java.lang.Object
-
- java.lang.Enum<CliInputView.InputOperation>
-
- org.apache.flink.table.client.cli.CliInputView.InputOperation
-
- All Implemented Interfaces:
Serializable,Comparable<CliInputView.InputOperation>
- Enclosing class:
- CliInputView
public static enum CliInputView.InputOperation extends Enum<CliInputView.InputOperation>
Available operations for this view.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CliInputView.InputOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static CliInputView.InputOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUIT
public static final CliInputView.InputOperation QUIT
-
INSERT
public static final CliInputView.InputOperation INSERT
-
ENTER
public static final CliInputView.InputOperation ENTER
-
LEFT
public static final CliInputView.InputOperation LEFT
-
RIGHT
public static final CliInputView.InputOperation RIGHT
-
BACKSPACE
public static final CliInputView.InputOperation BACKSPACE
-
-
Method Detail
-
values
public static CliInputView.InputOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CliInputView.InputOperation c : CliInputView.InputOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CliInputView.InputOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-