com.evolveum.midpoint.model.api.context
Enum SynchronizationPolicyDecision

java.lang.Object
  extended by java.lang.Enum<SynchronizationPolicyDecision>
      extended by com.evolveum.midpoint.model.api.context.SynchronizationPolicyDecision
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SynchronizationPolicyDecision>

public enum SynchronizationPolicyDecision
extends java.lang.Enum<SynchronizationPolicyDecision>

Describes what the policy "decides" about a specific account.

Author:
Radovan Semancik

Enum Constant Summary
ADD
          New account that is going to be added (and linked)
BROKEN
          The account is not usable.
DELETE
          Existing account that is going to be deleted (and unlinked)
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
static SynchronizationPolicyDecision valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 account is not usable. E.g. because the associated shadow does not exist any more, resource does not exists any more, etc. Such account link will be removed.

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2012 evolveum. All Rights Reserved.