Enum Class StructureChange

java.lang.Object
java.lang.Enum<StructureChange>
de.espirit.firstspirit.storage.StructureChange
All Implemented Interfaces:
Serializable, Comparable<StructureChange>, Constable

public enum StructureChange extends Enum<StructureChange>
Describes the type of structural change in a Contrast of type Contrast.Type.STRUCTURE
Since:
4.0.51
  • Enum Constant Details

    • ADDED

      public static final StructureChange ADDED
      An element has been added
      Since:
      4.0.51
    • REMOVED

      public static final StructureChange REMOVED
      An element has been removed
      Since:
      4.0.51
    • MOVED

      public static final StructureChange MOVED
      An element has been moved
      Since:
      4.0.51
    • CHILDREN

      public static final StructureChange CHILDREN
      Children of an element are changed
      Since:
      4.0.51
    • VOID

      public static final StructureChange VOID
      The compared elements are null
      Since:
      4.0.51
  • Method Details

    • values

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