public enum ExecutionType extends java.lang.Enum<ExecutionType>
| Enum Constant and Description |
|---|
ASYNCHRONOUS
Used for asynchronous execution of command.
|
OBSERVABLE
Reactive execution (asynchronous callback).
|
SYNCHRONOUS
Used for synchronous execution of command.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionType |
getExecutionType(java.lang.Class<?> type)
Gets execution type for specified class type.
|
static ExecutionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionType ASYNCHRONOUS
public static final ExecutionType SYNCHRONOUS
public static final ExecutionType OBSERVABLE
public static ExecutionType[] values()
for (ExecutionType c : ExecutionType.values()) System.out.println(c);
public static ExecutionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ExecutionType getExecutionType(java.lang.Class<?> type)
type - the typeExecutionType