Package com.helixframework.delta
Enum Class ChangeClassification
- All Implemented Interfaces:
Serializable,Comparable<ChangeClassification>,Constable
Describes the structural kind of an individual delta change.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArray element exists only in the after document.Array element exists only in the before document.Array element changed in place.Object field exists only in the after document.Object field exists only in the before document.Object field was replaced as a whole subtree.The entire root document was replaced.Scalar value changed without a container shape change.The JSON node type changed at the path. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeClassificationReturns the enum constant of this class with the specified name.static ChangeClassification[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SCALAR_VALUE_CHANGED
Scalar value changed without a container shape change. -
OBJECT_FIELD_ADDED
Object field exists only in the after document. -
OBJECT_FIELD_REMOVED
Object field exists only in the before document. -
OBJECT_FIELD_REPLACED
Object field was replaced as a whole subtree. -
ARRAY_ELEMENT_ADDED
Array element exists only in the after document. -
ARRAY_ELEMENT_REMOVED
Array element exists only in the before document. -
ARRAY_ELEMENT_REPLACED
Array element changed in place. -
TYPE_CHANGED
The JSON node type changed at the path. -
ROOT_REPLACED
The entire root document was replaced.
-
-
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
-