Enum ActivityRepeatedExecutionStrategyType
- java.lang.Object
-
- java.lang.Enum<ActivityRepeatedExecutionStrategyType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityRepeatedExecutionStrategyType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityRepeatedExecutionStrategyType>
public enum ActivityRepeatedExecutionStrategyType extends Enum<ActivityRepeatedExecutionStrategyType>
Should be an activity re-executed when the task is restarted (e.g. resumed)? NOT IMPLEMENTED YET.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
The activity should be always executed.IF_ERROR
The activity should be re-executed if it ended with partial or fatal error before.IF_FATAL_ERROR
The activity should be re-executed if it ended with fatal error before.NEVER
Once executed, the activity should not be re-executed again.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityRepeatedExecutionStrategyType
fromValue(String v)
String
value()
static ActivityRepeatedExecutionStrategyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityRepeatedExecutionStrategyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final ActivityRepeatedExecutionStrategyType NEVER
Once executed, the activity should not be re-executed again.
-
ALWAYS
public static final ActivityRepeatedExecutionStrategyType ALWAYS
The activity should be always executed.
-
IF_ERROR
public static final ActivityRepeatedExecutionStrategyType IF_ERROR
The activity should be re-executed if it ended with partial or fatal error before.
-
IF_FATAL_ERROR
public static final ActivityRepeatedExecutionStrategyType IF_FATAL_ERROR
The activity should be re-executed if it ended with fatal error before.
-
-
Method Detail
-
values
public static ActivityRepeatedExecutionStrategyType[] 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 (ActivityRepeatedExecutionStrategyType c : ActivityRepeatedExecutionStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityRepeatedExecutionStrategyType 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 ActivityRepeatedExecutionStrategyType fromValue(String v)
-
-