Package org.projectnessie.model
Enum Class Conflict.ConflictType
- All Implemented Interfaces:
Serializable,Comparable<Conflict.ConflictType>,Constable
- Enclosing interface:
Conflict
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionContent IDs of existing and expected content differs.Values of existing and expected documentation differs.Generic key conflict, reported for merges and transplants.The key does not exist, but is expected to exist.The key exists, but is expected to not exist.The mandatory parent namespace does not exist.A namespace must be empty before it can be deleted.The key expected to be a namespace is not a namespace.Payload of existing and expected differ.Reference is not at the expected hash, reported for reference assignment and deletion.Unknown, for situations when the server returned a conflict type that is unknown to the client.Values of existing and expected content differs. -
Method Summary
Modifier and TypeMethodDescriptionstatic Conflict.ConflictTypestatic Conflict.ConflictTypeReturns the enum constant of this class with the specified name.static Conflict.ConflictType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Unknown, for situations when the server returned a conflict type that is unknown to the client. -
KEY_EXISTS
The key exists, but is expected to not exist. -
KEY_DOES_NOT_EXIST
The key does not exist, but is expected to exist. -
PAYLOAD_DIFFERS
Payload of existing and expected differ. -
CONTENT_ID_DIFFERS
Content IDs of existing and expected content differs. -
VALUE_DIFFERS
Values of existing and expected content differs. -
NAMESPACE_ABSENT
The mandatory parent namespace does not exist. -
NOT_A_NAMESPACE
The key expected to be a namespace is not a namespace. -
NAMESPACE_NOT_EMPTY
A namespace must be empty before it can be deleted. -
UNEXPECTED_HASH
Reference is not at the expected hash, reported for reference assignment and deletion. -
KEY_CONFLICT
Generic key conflict, reported for merges and transplants. -
DOCUMENTATION_DIFFERS
Values of existing and expected documentation differs.
-
-
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
-
parse
-