Enum ActivityStatePersistenceType
- java.lang.Object
-
- java.lang.Enum<ActivityStatePersistenceType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityStatePersistenceType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityStatePersistenceType>
public enum ActivityStatePersistenceType extends Enum<ActivityStatePersistenceType>
Java class for ActivityStatePersistenceType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ActivityStatePersistenceType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="perpetual"/> <enumeration value="perpetualExceptStatistics"/> <enumeration value="singleRealization"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PERPETUAL
The state should be preserved across activity realizations.PERPETUAL_EXCEPT_STATISTICS
The state should be preserved across activity realizations.SINGLE_REALIZATION
The state should be preserved for single activity realizations.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityStatePersistenceType
fromValue(String v)
String
value()
static ActivityStatePersistenceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityStatePersistenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERPETUAL
public static final ActivityStatePersistenceType PERPETUAL
The state should be preserved across activity realizations.
-
PERPETUAL_EXCEPT_STATISTICS
public static final ActivityStatePersistenceType PERPETUAL_EXCEPT_STATISTICS
The state should be preserved across activity realizations.
-
SINGLE_REALIZATION
public static final ActivityStatePersistenceType SINGLE_REALIZATION
The state should be preserved for single activity realizations. This is the default.
-
-
Method Detail
-
values
public static ActivityStatePersistenceType[] 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 (ActivityStatePersistenceType c : ActivityStatePersistenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityStatePersistenceType 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 ActivityStatePersistenceType fromValue(String v)
-
-