Enum PredefinedPolicySituation
- java.lang.Object
-
- java.lang.Enum<PredefinedPolicySituation>
-
- com.evolveum.midpoint.model.api.context.PredefinedPolicySituation
-
- All Implemented Interfaces:
Serializable
,Comparable<PredefinedPolicySituation>
public enum PredefinedPolicySituation extends Enum<PredefinedPolicySituation>
- Author:
- semancik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNMENT_MODIFIED
ASSIGNMENT_STATE
ASSIGNMENT_TIME_VALIDITY
EXCLUSION_VIOLATION
HAS_ASSIGNMENT
HAS_NO_ASSIGNMENT
MODIFIED
OBJECT_STATE
OBJECT_TIME_VALIDITY
OVERASSIGNED
UNDERASSIGNED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PredefinedPolicySituation
get(PolicyConstraintKindType constraintKind)
PolicyConstraintKindType
getConstraintKind()
String
getUrl()
static PredefinedPolicySituation
valueOf(String name)
Returns the enum constant of this type with the specified name.static PredefinedPolicySituation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCLUSION_VIOLATION
public static final PredefinedPolicySituation EXCLUSION_VIOLATION
-
UNDERASSIGNED
public static final PredefinedPolicySituation UNDERASSIGNED
-
OVERASSIGNED
public static final PredefinedPolicySituation OVERASSIGNED
-
MODIFIED
public static final PredefinedPolicySituation MODIFIED
-
ASSIGNMENT_MODIFIED
public static final PredefinedPolicySituation ASSIGNMENT_MODIFIED
-
HAS_ASSIGNMENT
public static final PredefinedPolicySituation HAS_ASSIGNMENT
-
HAS_NO_ASSIGNMENT
public static final PredefinedPolicySituation HAS_NO_ASSIGNMENT
-
OBJECT_STATE
public static final PredefinedPolicySituation OBJECT_STATE
-
ASSIGNMENT_STATE
public static final PredefinedPolicySituation ASSIGNMENT_STATE
-
OBJECT_TIME_VALIDITY
public static final PredefinedPolicySituation OBJECT_TIME_VALIDITY
-
ASSIGNMENT_TIME_VALIDITY
public static final PredefinedPolicySituation ASSIGNMENT_TIME_VALIDITY
-
-
Method Detail
-
values
public static PredefinedPolicySituation[] 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 (PredefinedPolicySituation c : PredefinedPolicySituation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredefinedPolicySituation 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
-
getUrl
public String getUrl()
-
getConstraintKind
public PolicyConstraintKindType getConstraintKind()
-
get
public static PredefinedPolicySituation get(PolicyConstraintKindType constraintKind)
-
-