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 and 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.
|
Modifier and Type | Method and 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.
|
public static final ThreadStopActionType RESTART
public static final ThreadStopActionType RESCHEDULE
public static final ThreadStopActionType SUSPEND
public static final ThreadStopActionType CLOSE
public static ThreadStopActionType[] values()
for (ThreadStopActionType c : ThreadStopActionType.values()) System.out.println(c);
public static ThreadStopActionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static ThreadStopActionType fromValue(String v)
Copyright © 2020 Evolveum. All rights reserved.