Package ext.api.centrallog.model
Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- ext.api.centrallog.model.NodeType
-
- All Implemented Interfaces:
Serializable,Comparable<NodeType>
public enum NodeType extends Enum<NodeType>
Gets or Sets NodeType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITYActivity node type.EVENTEvent node type.GATEWAYGateway node type.HUMAN_TASKHuman task node type.OTHEROther node type.PROCESS_ENDProcess end node type.PROCESS_STARTProcess start node type.SUB_PROCESSSub process node type.TIMERTimer node type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeTypefromValue(String text)From value node type.StringtoString()static NodeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NodeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVITY
public static final NodeType ACTIVITY
Activity node type.
-
EVENT
public static final NodeType EVENT
Event node type.
-
GATEWAY
public static final NodeType GATEWAY
Gateway node type.
-
HUMAN_TASK
public static final NodeType HUMAN_TASK
Human task node type.
-
OTHER
public static final NodeType OTHER
Other node type.
-
PROCESS_END
public static final NodeType PROCESS_END
Process end node type.
-
PROCESS_START
public static final NodeType PROCESS_START
Process start node type.
-
SUB_PROCESS
public static final NodeType SUB_PROCESS
Sub process node type.
-
TIMER
public static final NodeType TIMER
Timer node type.
-
-
Method Detail
-
values
public static NodeType[] 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 (NodeType c : NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static NodeType fromValue(String text)
From value node type.- Parameters:
text- the text- Returns:
- the node type
-
-