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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOperation should be end with an error.The whole operation should fail.Warning should be issued into the log file.Nothing should be done.The focus object should be recomputed.The focus object should be recomputed and all projections reconciled.Operation should be restarted. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConflictResolutionActionType
value()
Returns enum value defined as in schema.static ConflictResolutionActionType
Returns the enum constant of this class with the specified name.static ConflictResolutionActionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Nothing should be done. This is the default behavior. -
LOG
Warning should be issued into the log file. -
ERROR
Operation should be end with an error. This is a recoverable error (precondition failed). TODO: align with "fail" -
RESTART
Operation should be restarted. -
RECOMPUTE
The focus object should be recomputed. -
RECONCILE
The focus object should be recomputed and all projections reconciled. -
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
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
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 nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-