public enum StateAction extends Enum<StateAction>
| Enum Constant and Description |
|---|
ACTIVE |
ARCHIVED |
COMPLETED |
DISABLED |
INACTIVE |
INTERRUPTED |
PENDING |
PENDING_INACTIVE |
| Modifier and Type | Method and Description |
|---|---|
static StateAction |
find(com.edorasware.commons.core.entity.State state)
Finds a new state action instance by the given state.
|
com.google.common.collect.ImmutableList<ActionName> |
getActions() |
com.edorasware.commons.core.entity.State |
getState() |
static StateAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateAction ACTIVE
public static final StateAction INACTIVE
public static final StateAction PENDING
public static final StateAction PENDING_INACTIVE
public static final StateAction ARCHIVED
public static final StateAction COMPLETED
public static final StateAction INTERRUPTED
public static final StateAction DISABLED
public static StateAction[] values()
for (StateAction c : StateAction.values()) System.out.println(c);
public static StateAction 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 nullpublic static StateAction find(com.edorasware.commons.core.entity.State state)
state - the state of the state action to createIllegalArgumentException - if the id is not knownpublic com.edorasware.commons.core.entity.State getState()
public com.google.common.collect.ImmutableList<ActionName> getActions()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.