Package com.saperion.ws.wrapper.wf
Enum SaWsCommandEnum
- java.lang.Object
-
- java.lang.Enum<SaWsCommandEnum>
-
- com.saperion.ws.wrapper.wf.SaWsCommandEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SaWsCommandEnum>
public enum SaWsCommandEnum extends java.lang.Enum<SaWsCommandEnum>
The Enum SaWsCommandEnum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVE
Approve.CHANGEOWNER
Change owner.COMMENTS
Comments.ESCALATION
Escalation.FORWARD
Forward.HOLD
Hold.NOTRESPONSIBLE
Nor responsible.PAUSE
Pause.PUTBACK
Put back.REJECT
Reject.REMOVE
Remove.REWORK
Rework.RUN
Run.SETNODE
Set node.SETUSER
Set user.START
Start.TAKE
Take.TERMINATE
Terminate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SaWsCommandEnum
fromBackend(com.saperion.constants.SaWFConstants.CommandId kind)
com.saperion.constants.SaWFConstants.CommandId
get()
static SaWsCommandEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SaWsCommandEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final SaWsCommandEnum START
Start.
-
FORWARD
public static final SaWsCommandEnum FORWARD
Forward.
-
APPROVE
public static final SaWsCommandEnum APPROVE
Approve.
-
REJECT
public static final SaWsCommandEnum REJECT
Reject.
-
REWORK
public static final SaWsCommandEnum REWORK
Rework.
-
NOTRESPONSIBLE
public static final SaWsCommandEnum NOTRESPONSIBLE
Nor responsible.
-
TAKE
public static final SaWsCommandEnum TAKE
Take.
-
REMOVE
public static final SaWsCommandEnum REMOVE
Remove.
-
HOLD
public static final SaWsCommandEnum HOLD
Hold.
-
ESCALATION
public static final SaWsCommandEnum ESCALATION
Escalation.
-
PAUSE
public static final SaWsCommandEnum PAUSE
Pause.
-
RUN
public static final SaWsCommandEnum RUN
Run.
-
TERMINATE
public static final SaWsCommandEnum TERMINATE
Terminate.
-
CHANGEOWNER
public static final SaWsCommandEnum CHANGEOWNER
Change owner.
-
SETNODE
public static final SaWsCommandEnum SETNODE
Set node.
-
SETUSER
public static final SaWsCommandEnum SETUSER
Set user.
-
PUTBACK
public static final SaWsCommandEnum PUTBACK
Put back.
-
COMMENTS
public static final SaWsCommandEnum COMMENTS
Comments.
-
-
Method Detail
-
values
public static SaWsCommandEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SaWsCommandEnum c : SaWsCommandEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SaWsCommandEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
get
public com.saperion.constants.SaWFConstants.CommandId get()
-
fromBackend
public static SaWsCommandEnum fromBackend(com.saperion.constants.SaWFConstants.CommandId kind)
-
-