Package com.helixframework.delta
Enum Class InclusionReason
- All Implemented Interfaces:
Serializable,Comparable<InclusionReason>,Constable
Explains why a path appears in the delta output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionArray structure was retained to preserve positional context.The key exists only in the after document.The key exists only in the before document.Parent container was retained to preserve reachability to a changed node.The node type changed at the path.The value at the path changed in place. -
Method Summary
Modifier and TypeMethodDescriptionstatic InclusionReasonReturns the enum constant of this class with the specified name.static InclusionReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALUE_CHANGED
The value at the path changed in place. -
KEY_ADDED
The key exists only in the after document. -
KEY_REMOVED
The key exists only in the before document. -
TYPE_CHANGED
The node type changed at the path. -
ARRAY_CONTEXT_REQUIRED
Array structure was retained to preserve positional context. -
PARENT_RETAINED_FOR_TRACEABILITY
Parent container was retained to preserve reachability to a changed node.
-
-
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
-