Enum DiffKind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DiffKind>

    public enum DiffKind
    extends java.lang.Enum<DiffKind>
    DiffKind describes the kind of a particular property diff.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ADD
      Add indicates that the property was added.
      ADD_REPLACE
      AddReplace indicates that the property was added and requires that the resource be replaced.
      DELETE
      Delete indicates that the property was deleted.
      DELETE_REPLACE
      DeleteReplace indicates that the property was deleted and requires that the resource be replaced.
      UPDATE
      Update indicates that the property was updated.
      UPDATE_REPLACE
      UpdateReplace indicates that the property was updated and requires that the resource be replaced.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DiffKind valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DiffKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • ADD

        public static final DiffKind ADD
        Add indicates that the property was added.
      • ADD_REPLACE

        public static final DiffKind ADD_REPLACE
        AddReplace indicates that the property was added and requires that the resource be replaced.
      • DELETE

        public static final DiffKind DELETE
        Delete indicates that the property was deleted.
      • DELETE_REPLACE

        public static final DiffKind DELETE_REPLACE
        DeleteReplace indicates that the property was deleted and requires that the resource be replaced.
      • UPDATE

        public static final DiffKind UPDATE
        Update indicates that the property was updated.
      • UPDATE_REPLACE

        public static final DiffKind UPDATE_REPLACE
        UpdateReplace indicates that the property was updated and requires that the resource be replaced.
    • Method Detail

      • values

        public static DiffKind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DiffKind c : DiffKind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DiffKind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null