Enum ConflictType

java.lang.Object
java.lang.Enum<ConflictType>
org.apache.jackrabbit.oak.spi.state.ConflictType
All Implemented Interfaces:
Serializable, Comparable<ConflictType>

public enum ConflictType extends Enum<ConflictType>
Enum to define various types of conflicts.
See Also:
  • Enum Constant Details

    • DELETE_CHANGED_PROPERTY

      public static final ConflictType DELETE_CHANGED_PROPERTY
      A property has been removed while a property of the same name has been changed in trunk.
    • DELETE_CHANGED_NODE

      public static final ConflictType DELETE_CHANGED_NODE
      A node has been removed while a node of the same name has been changed in trunk.
    • ADD_EXISTING_PROPERTY

      public static final ConflictType ADD_EXISTING_PROPERTY
      A property has been added that has a different value than a property with the same name that has been added in trunk.
    • CHANGE_DELETED_PROPERTY

      public static final ConflictType CHANGE_DELETED_PROPERTY
      A property has been changed while a property of the same name has been removed in trunk.
    • CHANGE_CHANGED_PROPERTY

      public static final ConflictType CHANGE_CHANGED_PROPERTY
      A property has been changed while a property of the same name has been changed to a different value in trunk.
    • DELETE_DELETED_PROPERTY

      public static final ConflictType DELETE_DELETED_PROPERTY
      A property has been removed while a property of the same name has been removed in trunk.
    • ADD_EXISTING_NODE

      public static final ConflictType ADD_EXISTING_NODE
      A node has been added that is different from a node of them same name that has been added to the trunk.
    • CHANGE_DELETED_NODE

      public static final ConflictType CHANGE_DELETED_NODE
      A node has been changed while a node of the same name has been removed in trunk.
    • DELETE_DELETED_NODE

      public static final ConflictType DELETE_DELETED_NODE
      A node has been removed while a node of the same name has been removed in trunk.
  • Method Details

    • values

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

      public static ConflictType 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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
    • effectsNode

      public boolean effectsNode()
    • fromName

      public static ConflictType fromName(String name)