Enum Class InclusionReason

java.lang.Object
java.lang.Enum<InclusionReason>
com.helixframework.delta.InclusionReason
All Implemented Interfaces:
Serializable, Comparable<InclusionReason>, Constable

public enum InclusionReason extends Enum<InclusionReason>
Explains why a path appears in the delta output.
  • Enum Constant Details

    • VALUE_CHANGED

      public static final InclusionReason VALUE_CHANGED
      The value at the path changed in place.
    • KEY_ADDED

      public static final InclusionReason KEY_ADDED
      The key exists only in the after document.
    • KEY_REMOVED

      public static final InclusionReason KEY_REMOVED
      The key exists only in the before document.
    • TYPE_CHANGED

      public static final InclusionReason TYPE_CHANGED
      The node type changed at the path.
    • ARRAY_CONTEXT_REQUIRED

      public static final InclusionReason ARRAY_CONTEXT_REQUIRED
      Array structure was retained to preserve positional context.
    • PARENT_RETAINED_FOR_TRACEABILITY

      public static final InclusionReason PARENT_RETAINED_FOR_TRACEABILITY
      Parent container was retained to preserve reachability to a changed node.
  • Method Details

    • values

      public static InclusionReason[] 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 InclusionReason 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