Enum ConflictResolutionActionType
- java.lang.Object
-
- java.lang.Enum<ConflictResolutionActionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ConflictResolutionActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConflictResolutionActionType>
public enum ConflictResolutionActionType extends Enum<ConflictResolutionActionType>
Java class for ConflictResolutionActionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ConflictResolutionActionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="none"/> <enumeration value="log"/> <enumeration value="error"/> <enumeration value="restart"/> <enumeration value="recompute"/> <enumeration value="reconcile"/> <enumeration value="fail"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Operation should be end with an error.FAIL
The whole operation should fail.LOG
Warning should be issued into the log file.NONE
Nothing should be done.RECOMPUTE
The focus object should be recomputed.RECONCILE
The focus object should be recomputed and all projections reconciled.RESTART
Operation should be restarted.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConflictResolutionActionType
fromValue(String v)
String
value()
static ConflictResolutionActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConflictResolutionActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ConflictResolutionActionType[] 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 (ConflictResolutionActionType c : ConflictResolutionActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConflictResolutionActionType 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
-
value
public String value()
-
fromValue
public static ConflictResolutionActionType fromValue(String v)
-
-