public static enum ActivityState.State extends java.lang.Enum<ActivityState.State>
RUNNING there may also be a
signal which can be obtained from an ActivityState.| Enum Constant and Description |
|---|
INITIALISING
The component for the activity is currently initialising.
|
REGISTERED
The activity is registered for execution but the corresponding component
is not initialised yet.
|
RUNNING
The component for the activity is currently executing.
|
TERMINATED
The component for the activity has finished executing and has terminated.
|
TERMINATED_PENDING
The component for the activity has finished executing and has terminated but activity
termination could not be signalled to the execution manager.
|
TERMINATING
The component for the activity has finished executing and is currently
terminating.
|
| Modifier and Type | Method and Description |
|---|---|
static ActivityState.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivityState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityState.State REGISTERED
public static final ActivityState.State INITIALISING
public static final ActivityState.State RUNNING
public static final ActivityState.State TERMINATING
public static final ActivityState.State TERMINATED
public static final ActivityState.State TERMINATED_PENDING
public static ActivityState.State[] values()
for (ActivityState.State c : ActivityState.State.values()) System.out.println(c);
public static ActivityState.State 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 null