public static enum ActivityEvent.ActivityStatus extends Enum<ActivityEvent.ActivityStatus>
Enum Constant and Description |
---|
COMPLETE |
FAILED |
PAUSED |
RUNNING |
STARTED |
STOPPED |
Modifier and Type | Method and Description |
---|---|
static ActivityEvent.ActivityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityEvent.ActivityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityEvent.ActivityStatus STARTED
public static final ActivityEvent.ActivityStatus RUNNING
public static final ActivityEvent.ActivityStatus COMPLETE
public static final ActivityEvent.ActivityStatus STOPPED
public static final ActivityEvent.ActivityStatus PAUSED
public static final ActivityEvent.ActivityStatus FAILED
public static ActivityEvent.ActivityStatus[] values()
for (ActivityEvent.ActivityStatus c : ActivityEvent.ActivityStatus.values()) System.out.println(c);
public static ActivityEvent.ActivityStatus 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.