|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TransportOrderState>
org.openwms.tms.domain.values.TransportOrderState
public enum TransportOrderState
A TransportOrderState defines alll possible states of
TransportOrder
s.
TransportOrder
Enum Constant Summary | |
---|---|
CANCELED
Status of a aborted TransportOrder . |
|
CREATED
Status of new created TransportOrder s. |
|
FINISHED
Status to indicate that the TransportOrder completed
successfully. |
|
INITIALIZED
Status of a full initialized TransportOrder , ready to be
started. |
|
INTERRUPTED
Status to indicate that the TransportOrder is paused. |
|
ONFAILURE
Status to indicate a failure on the TransportOrder . |
|
STARTED
A started and active TransportOrder , ready to be executed. |
Method Summary | |
---|---|
int |
getOrder()
Get the order. |
static TransportOrderState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TransportOrderState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TransportOrderState CREATED
TransportOrder
s.
public static final TransportOrderState INITIALIZED
TransportOrder
, ready to be
started.
public static final TransportOrderState STARTED
TransportOrder
, ready to be executed.
public static final TransportOrderState INTERRUPTED
TransportOrder
is paused. Not
active anymore.
public static final TransportOrderState ONFAILURE
TransportOrder
. Not
active anymore.
public static final TransportOrderState CANCELED
TransportOrder
. Not active anymore.
public static final TransportOrderState FINISHED
TransportOrder
completed
successfully.
Method Detail |
---|
public static TransportOrderState[] values()
for (TransportOrderState c : TransportOrderState.values()) System.out.println(c);
public static TransportOrderState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getOrder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |