Enum Class ConflictResolutionActionType

java.lang.Object
java.lang.Enum<ConflictResolutionActionType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ConflictResolutionActionType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<ConflictResolutionActionType>, Constable

public enum ConflictResolutionActionType extends Enum<ConflictResolutionActionType> implements TypeSafeEnum
What to do in the case of modify-modify conflict during model (clockwork) operation.
  • Enum Constant Details

    • NONE

      public static final ConflictResolutionActionType NONE
      Nothing should be done. This is the default behavior.
    • LOG

      public static final ConflictResolutionActionType LOG
      Warning should be issued into the log file.
    • ERROR

      public static final ConflictResolutionActionType ERROR
      Operation should be end with an error. This is a recoverable error (precondition failed). TODO: align with "fail"
    • RESTART

      public static final ConflictResolutionActionType RESTART
      Operation should be restarted.
    • RECOMPUTE

      public static final ConflictResolutionActionType RECOMPUTE
      The focus object should be recomputed.
    • RECONCILE

      public static final ConflictResolutionActionType RECONCILE
      The focus object should be recomputed and all projections reconciled.
    • FAIL

      public static final ConflictResolutionActionType FAIL
      The whole operation should fail. This is to be used mainly for testing purposes, to check if conflict detection algorithm does not yield false positive results. This fails with a system error. This is a definitive, non-recoverable failure. TODO: align with "error"
  • Method Details

    • values

      public static ConflictResolutionActionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConflictResolutionActionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static ConflictResolutionActionType fromValue(String v)