Enum SynchronizationPolicyDecision
- java.lang.Object
-
- java.lang.Enum<SynchronizationPolicyDecision>
-
- com.evolveum.midpoint.model.api.context.SynchronizationPolicyDecision
-
- All Implemented Interfaces:
Serializable
,Comparable<SynchronizationPolicyDecision>
public enum SynchronizationPolicyDecision extends Enum<SynchronizationPolicyDecision>
Describes what the policy "decides" about a specific account.- Author:
- Radovan Semancik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
New account that is going to be added (and linked)BROKEN
The projection is broken.DELETE
Existing account that is going to be deleted (and unlinked)IGNORE
The account is not usable.KEEP
Existing account that is kept as it is (remains linked).UNLINK
Existing account that is going to be unlinked (but NOT deleted)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynchronizationPolicyDecision
fromSynchronizationPolicyDecisionType(SynchronizationPolicyDecisionType value)
SynchronizationPolicyDecisionType
toSynchronizationPolicyDecisionType()
static SynchronizationPolicyDecision
valueOf(String name)
Returns the enum constant of this type with the specified name.static SynchronizationPolicyDecision[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final SynchronizationPolicyDecision ADD
New account that is going to be added (and linked)
-
DELETE
public static final SynchronizationPolicyDecision DELETE
Existing account that is going to be deleted (and unlinked)
-
KEEP
public static final SynchronizationPolicyDecision KEEP
Existing account that is kept as it is (remains linked). Note: there still may be attribute or entitlement changes.
-
UNLINK
public static final SynchronizationPolicyDecision UNLINK
Existing account that is going to be unlinked (but NOT deleted)
-
BROKEN
public static final SynchronizationPolicyDecision BROKEN
The projection is broken. I.e. there is some (fixable) state that prevents proper operations with the projection. This may be schema violation problem, security problem (access denied), misconfiguration, etc. Broken projections will be kept in the state that they are (maintaining status quo) until the problem is fixed. We will do no operations on broken projections and we will NOT unlink them or delete them.
-
IGNORE
public static final SynchronizationPolicyDecision IGNORE
The account is not usable. Context was created, but the account will be skipped. this is used only for evaluation assigment and the assigment policies
-
-
Method Detail
-
values
public static SynchronizationPolicyDecision[] 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 (SynchronizationPolicyDecision c : SynchronizationPolicyDecision.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SynchronizationPolicyDecision 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
-
toSynchronizationPolicyDecisionType
public SynchronizationPolicyDecisionType toSynchronizationPolicyDecisionType()
-
fromSynchronizationPolicyDecisionType
public static SynchronizationPolicyDecision fromSynchronizationPolicyDecisionType(SynchronizationPolicyDecisionType value)
-
-