Enum DiffInfo.TYPE

java.lang.Object
java.lang.Enum<DiffInfo.TYPE>
com.day.cq.commons.DiffInfo.TYPE
All Implemented Interfaces:
Serializable, Comparable<DiffInfo.TYPE>, java.lang.constant.Constable
Enclosing class:
DiffInfo

public static enum DiffInfo.TYPE extends Enum<DiffInfo.TYPE>
The general information about the diff
  • Enum Constant Details

    • ADDED

      public static final DiffInfo.TYPE ADDED
      this resource is new and not contained in the old version
    • REMOVED

      public static final DiffInfo.TYPE REMOVED
      this resource has been removed and is only in the old version
    • MOVED

      public static final DiffInfo.TYPE MOVED
      this resource is in both versions but at different locations
    • SAME

      public static final DiffInfo.TYPE SAME
      resource is in both versions at the same location
  • Method Details

    • values

      public static DiffInfo.TYPE[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DiffInfo.TYPE valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null