public enum OperationType extends Enum<OperationType>
Enum Constant and Description |
---|
ACTION
Actions MAY have observable side effects and MAY return a single instance or a collection of instances of any type.
|
FUNCTION
Functions MUST NOT have observable side effects and MUST return a single instance or a collection of instances of
any type.
|
LEGACY
Function or action (not specified explicitly).
|
Modifier and Type | Method and Description |
---|---|
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType LEGACY
public static final OperationType FUNCTION
public static final OperationType ACTION
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.