public enum InteractionState extends Enum<InteractionState>
Enum Constant and Description |
---|
CANCELABLE
The task can be canceled.
|
NON_INTERACTIVE
The user cannot currently interact with the task.
|
RESTARTABLE
The task can be started after it was already started before.
|
STARTABLE
The task can be started and was never started before.
|
Modifier and Type | Method and Description |
---|---|
static InteractionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteractionState STARTABLE
public static final InteractionState RESTARTABLE
public static final InteractionState CANCELABLE
public static final InteractionState NON_INTERACTIVE
public static InteractionState[] values()
for (InteractionState c : InteractionState.values()) System.out.println(c);
public static InteractionState 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 © 2015. All rights reserved.