Enum CommandType
- java.lang.Object
-
- java.lang.Enum<CommandType>
-
- org.tkit.rhpam.quarkus.messaging.model.CommandType
-
- All Implemented Interfaces:
Serializable,Comparable<CommandType>
public enum CommandType extends Enum<CommandType>
The command type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE_WORK_ITEMThe complete work item command.SEND_SIGNALThe send signal/message command.START_PROCESSThe start process command.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_PROCESS
public static final CommandType START_PROCESS
The start process command.
-
COMPLETE_WORK_ITEM
public static final CommandType COMPLETE_WORK_ITEM
The complete work item command.
-
SEND_SIGNAL
public static final CommandType SEND_SIGNAL
The send signal/message command.
-
-
Method Detail
-
values
public static CommandType[] 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 (CommandType c : CommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandType 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
-
-