com.evolveum.midpoint.repo.sql.data.common.enums
Enum RThreadStopActionType
java.lang.Object
java.lang.Enum<RThreadStopActionType>
com.evolveum.midpoint.repo.sql.data.common.enums.RThreadStopActionType
- All Implemented Interfaces:
- Serializable, Comparable<RThreadStopActionType>
public enum RThreadStopActionType
- extends Enum<RThreadStopActionType>
- Author:
- lazyman
RESTART
public static final RThreadStopActionType RESTART
RESCHEDULE
public static final RThreadStopActionType RESCHEDULE
SUSPEND
public static final RThreadStopActionType SUSPEND
CLOSE
public static final RThreadStopActionType CLOSE
values
public static RThreadStopActionType[] 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 (RThreadStopActionType c : RThreadStopActionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RThreadStopActionType 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 name
NullPointerException
- if the argument is null
getAction
public ThreadStopActionType getAction()
toRepoType
public static RThreadStopActionType toRepoType(ThreadStopActionType policy)
Copyright © 2013 evolveum. All Rights Reserved.