Enum Class Contrast.Type

java.lang.Object
java.lang.Enum<Contrast.Type>
de.espirit.firstspirit.storage.Contrast.Type
All Implemented Interfaces:
Serializable, Comparable<Contrast.Type>, Constable
Enclosing class:
Contrast

public static enum Contrast.Type extends Enum<Contrast.Type>
Describes the type of difference between elements
Since:
4.0.51
  • Enum Constant Details

    • TYPE

      public static final Contrast.Type TYPE
      The compared elements have a different Java type
      Since:
      4.0.51
    • DATA

      public static final Contrast.Type DATA
      The compared elements have different Data
      Since:
      4.0.51
    • META_DATA

      public static final Contrast.Type META_DATA
      The compared elements have different meta data
      Since:
      4.0.51
    • STRUCTURE

      public static final Contrast.Type STRUCTURE
      There are structural changes, e.g. added or removed elements
      Since:
      4.0.51
    • PERMISSION

      public static final Contrast.Type PERMISSION
      The compared elements have different permissions
      Since:
      4.0.51
  • Method Details

    • values

      public static Contrast.Type[] 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 Contrast.Type 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
    • getInfoType

      @Nullable public @Nullable Class<?> getInfoType()
      Returns the Class used for additional information by this Contrast.Type.
      Returns:
      the class used to additional information or null if unsupported for the current type.
      Since:
      4.0.51