Enum TaskUnpauseActionType
- java.lang.Object
-
- java.lang.Enum<TaskUnpauseActionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.TaskUnpauseActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskUnpauseActionType>
public enum TaskUnpauseActionType extends Enum<TaskUnpauseActionType>
Java class for TaskUnpauseActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TaskUnpauseActionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="executeImmediately"/> <enumeration value="reschedule"/> <enumeration value="close"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
The task will be closed.EXECUTE_IMMEDIATELY
Execute current handler immediately (if there is any).RESCHEDULE
Execute current handler (if there is any) on next scheduled time.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskUnpauseActionType
fromValue(String v)
String
value()
static TaskUnpauseActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskUnpauseActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTE_IMMEDIATELY
public static final TaskUnpauseActionType EXECUTE_IMMEDIATELY
Execute current handler immediately (if there is any). This is the default for single-run tasks.
-
RESCHEDULE
public static final TaskUnpauseActionType RESCHEDULE
Execute current handler (if there is any) on next scheduled time. This is the default for recurring tasks. For single-run tasks this means the task is closed, as there is no next scheduled time.
-
CLOSE
public static final TaskUnpauseActionType CLOSE
The task will be closed.
-
-
Method Detail
-
values
public static TaskUnpauseActionType[] 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 (TaskUnpauseActionType c : TaskUnpauseActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskUnpauseActionType 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
-
value
public String value()
-
fromValue
public static TaskUnpauseActionType fromValue(String v)
-
-