java.lang.Object
java.lang.Enum<DiffType>
com.northconcepts.datapipeline.foundations.difference.DiffType
All Implemented Interfaces:
Serializable, Comparable<DiffType>, Constable

public enum DiffType extends Enum<DiffType>
The kind of difference recorded by a Diff.
  • Enum Constant Details

    • NONE

      public static final DiffType NONE
    • ADDED

      public static final DiffType ADDED
    • REMOVED

      public static final DiffType REMOVED
    • CHANGED

      public static final DiffType CHANGED
  • Method Details

    • values

      public static DiffType[] 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 DiffType 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
    • lookup

      public static DiffType lookup(String diffTypeAsString)
      Returns the constant whose name matches the string ignoring case, or null if none does or the string is empty.