public enum PlanItemState extends Enum<PlanItemState>
An enum representing plan item state. Plan item state is reached as a result of PlanItemTransition
s.
Enum Constant and Description |
---|
ACTIVE |
AVAILABLE |
CLOSED |
COMPLETED |
DISABLED |
ENABLED |
EXPIRED |
FAILED |
SUSPENDED |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static PlanItemState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlanItemState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlanItemState AVAILABLE
public static final PlanItemState ENABLED
public static final PlanItemState DISABLED
public static final PlanItemState ACTIVE
public static final PlanItemState FAILED
public static final PlanItemState SUSPENDED
public static final PlanItemState TERMINATED
public static final PlanItemState COMPLETED
public static final PlanItemState CLOSED
public static final PlanItemState EXPIRED
public static PlanItemState[] values()
for (PlanItemState c : PlanItemState.values()) System.out.println(c);
public static PlanItemState 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 © 2010 - 2019 edorasware ag. All Rights Reserved.