Enum Class ChangeClassification

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

public enum ChangeClassification extends Enum<ChangeClassification>
Describes the structural kind of an individual delta change.
  • Enum Constant Details

    • SCALAR_VALUE_CHANGED

      public static final ChangeClassification SCALAR_VALUE_CHANGED
      Scalar value changed without a container shape change.
    • OBJECT_FIELD_ADDED

      public static final ChangeClassification OBJECT_FIELD_ADDED
      Object field exists only in the after document.
    • OBJECT_FIELD_REMOVED

      public static final ChangeClassification OBJECT_FIELD_REMOVED
      Object field exists only in the before document.
    • OBJECT_FIELD_REPLACED

      public static final ChangeClassification OBJECT_FIELD_REPLACED
      Object field was replaced as a whole subtree.
    • ARRAY_ELEMENT_ADDED

      public static final ChangeClassification ARRAY_ELEMENT_ADDED
      Array element exists only in the after document.
    • ARRAY_ELEMENT_REMOVED

      public static final ChangeClassification ARRAY_ELEMENT_REMOVED
      Array element exists only in the before document.
    • ARRAY_ELEMENT_REPLACED

      public static final ChangeClassification ARRAY_ELEMENT_REPLACED
      Array element changed in place.
    • TYPE_CHANGED

      public static final ChangeClassification TYPE_CHANGED
      The JSON node type changed at the path.
    • ROOT_REPLACED

      public static final ChangeClassification ROOT_REPLACED
      The entire root document was replaced.
  • Method Details

    • values

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