Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- org.tkit.rhpam.quarkus.messaging.model.NodeType
-
- All Implemented Interfaces:
Serializable,Comparable<NodeType>
public enum NodeType extends Enum<NodeType>
The node type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
START
public static final NodeType START
The start node type.
-
END
public static final NodeType END
The end node type.
-
TIMER
public static final NodeType TIMER
The timer node type.
-
EVENT
public static final NodeType EVENT
The event node type.
-
WORK_ITEM
public static final NodeType WORK_ITEM
The work item node type.
-
SUB_PROCESS
public static final NodeType SUB_PROCESS
The sub process 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
-
-