Package com.hybris.backoffice.workflow
Enum WorkflowItem.Type
- java.lang.Object
-
- java.lang.Enum<WorkflowItem.Type>
-
- com.hybris.backoffice.workflow.WorkflowItem.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WorkflowItem.Type>
- Enclosing class:
- WorkflowItem
public static enum WorkflowItem.Type extends java.lang.Enum<WorkflowItem.Type>
Represents the type of the node
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkflowItem.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WorkflowItem.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECISION
public static final WorkflowItem.Type DECISION
-
ACTION
public static final WorkflowItem.Type ACTION
-
AND_LINK
public static final WorkflowItem.Type AND_LINK
-
-
Method Detail
-
values
public static WorkflowItem.Type[] 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 (WorkflowItem.Type c : WorkflowItem.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowItem.Type 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
-
-