Enum TaskHistoryEventType
- java.lang.Object
-
- java.lang.Enum<TaskHistoryEventType>
-
- pro.taskana.spi.history.api.events.task.TaskHistoryEventType
-
- All Implemented Interfaces:
Serializable,Comparable<TaskHistoryEventType>
public enum TaskHistoryEventType extends Enum<TaskHistoryEventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCLAIM_CANCELLEDCLAIMEDCOMPLETEDCREATEDTERMINATEDTRANSFERREDUPDATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static TaskHistoryEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskHistoryEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final TaskHistoryEventType CREATED
-
UPDATED
public static final TaskHistoryEventType UPDATED
-
CLAIMED
public static final TaskHistoryEventType CLAIMED
-
CLAIM_CANCELLED
public static final TaskHistoryEventType CLAIM_CANCELLED
-
COMPLETED
public static final TaskHistoryEventType COMPLETED
-
CANCELLED
public static final TaskHistoryEventType CANCELLED
-
TERMINATED
public static final TaskHistoryEventType TERMINATED
-
TRANSFERRED
public static final TaskHistoryEventType TRANSFERRED
-
-
Method Detail
-
values
public static TaskHistoryEventType[] 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 (TaskHistoryEventType c : TaskHistoryEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskHistoryEventType 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
-
getName
public String getName()
-
-