Enum Class Conflict.ConflictType

java.lang.Object
java.lang.Enum<Conflict.ConflictType>
org.projectnessie.model.Conflict.ConflictType
All Implemented Interfaces:
Serializable, Comparable<Conflict.ConflictType>, Constable
Enclosing interface:
Conflict

public static enum Conflict.ConflictType extends Enum<Conflict.ConflictType>
  • Enum Constant Details

    • UNKNOWN

      public static final Conflict.ConflictType UNKNOWN
      Unknown, for situations when the server returned a conflict type that is unknown to the client.
    • KEY_EXISTS

      public static final Conflict.ConflictType KEY_EXISTS
      The key exists, but is expected to not exist.
    • KEY_DOES_NOT_EXIST

      public static final Conflict.ConflictType KEY_DOES_NOT_EXIST
      The key does not exist, but is expected to exist.
    • PAYLOAD_DIFFERS

      public static final Conflict.ConflictType PAYLOAD_DIFFERS
      Payload of existing and expected differ.
    • CONTENT_ID_DIFFERS

      public static final Conflict.ConflictType CONTENT_ID_DIFFERS
      Content IDs of existing and expected content differs.
    • VALUE_DIFFERS

      public static final Conflict.ConflictType VALUE_DIFFERS
      Values of existing and expected content differs.
    • NAMESPACE_ABSENT

      public static final Conflict.ConflictType NAMESPACE_ABSENT
      The mandatory parent namespace does not exist.
    • NOT_A_NAMESPACE

      public static final Conflict.ConflictType NOT_A_NAMESPACE
      The key expected to be a namespace is not a namespace.
    • NAMESPACE_NOT_EMPTY

      public static final Conflict.ConflictType NAMESPACE_NOT_EMPTY
      A namespace must be empty before it can be deleted.
    • UNEXPECTED_HASH

      public static final Conflict.ConflictType UNEXPECTED_HASH
      Reference is not at the expected hash, reported for reference assignment and deletion.
    • KEY_CONFLICT

      public static final Conflict.ConflictType KEY_CONFLICT
      Generic key conflict, reported for merges and transplants.
    • DOCUMENTATION_DIFFERS

      public static final Conflict.ConflictType DOCUMENTATION_DIFFERS
      Values of existing and expected documentation differs.
  • Method Details

    • values

      public static Conflict.ConflictType[] 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 Conflict.ConflictType 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
    • parse

      public static Conflict.ConflictType parse(String conflictType)