Enum 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"/>
    • Enum Constant Detail

      • ERROR

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

        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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()