Package pro.taskana.task.api
Enum CallbackState
- java.lang.Object
-
- java.lang.Enum<CallbackState>
-
- pro.taskana.task.api.CallbackState
-
- All Implemented Interfaces:
Serializable,Comparable<CallbackState>
public enum CallbackState extends Enum<CallbackState>
This enum contains all status of synchronization between a taskana task and a task in a remote system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALLBACK_PROCESSING_COMPLETEDCALLBACK_PROCESSING_REQUIREDCLAIMEDNONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallbackStatevalueOf(String name)Returns the enum constant of this type with the specified name.static CallbackState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final CallbackState NONE
-
CALLBACK_PROCESSING_REQUIRED
public static final CallbackState CALLBACK_PROCESSING_REQUIRED
-
CLAIMED
public static final CallbackState CLAIMED
-
CALLBACK_PROCESSING_COMPLETED
public static final CallbackState CALLBACK_PROCESSING_COMPLETED
-
-
Method Detail
-
values
public static CallbackState[] 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 (CallbackState c : CallbackState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CallbackState 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
-
-