Enum ThreadStopActionType
- java.lang.Object
-
- java.lang.Enum<ThreadStopActionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ThreadStopActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ThreadStopActionType>
public enum ThreadStopActionType extends Enum<ThreadStopActionType>
Java class for ThreadStopActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ThreadStopActionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="restart"/> <enumeration value="reschedule"/> <enumeration value="suspend"/> <enumeration value="close"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSE
The task will be closed.RESCHEDULE
The task will be rescheduled according to its schedule (for single-run tasks this is the same as 'restart').RESTART
The task will be restarted on first node available (i.e.SUSPEND
The task will be suspended.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThreadStopActionType
fromValue(String v)
String
value()
static ThreadStopActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ThreadStopActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESTART
public static final ThreadStopActionType RESTART
The task will be restarted on first node available (i.e. either immediately, if there is a suitable node in the cluster, or later, when a suitable node becomes available).
-
RESCHEDULE
public static final ThreadStopActionType RESCHEDULE
The task will be rescheduled according to its schedule (for single-run tasks this is the same as 'restart').
-
SUSPEND
public static final ThreadStopActionType SUSPEND
The task will be suspended.
-
CLOSE
public static final ThreadStopActionType CLOSE
The task will be closed.
-
-
Method Detail
-
values
public static ThreadStopActionType[] 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 (ThreadStopActionType c : ThreadStopActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreadStopActionType 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 ThreadStopActionType fromValue(String v)
-
-