public enum ActivityStatus extends Enum<ActivityStatus>
Enum Constant and Description |
---|
COMPLETED |
IN_PROGRESS |
NOT_STARTED |
Modifier and Type | Method and Description |
---|---|
static ActivityStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityStatus NOT_STARTED
public static final ActivityStatus IN_PROGRESS
public static final ActivityStatus COMPLETED
public static ActivityStatus[] values()
for (ActivityStatus c : ActivityStatus.values()) System.out.println(c);
public static 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 nullCopyright © 2000–2024 Packwood Software. All rights reserved.