Enum Class LinkChangeSituationType

java.lang.Object
java.lang.Enum<LinkChangeSituationType>
com.evolveum.midpoint.xml.ns._public.common.common_3.LinkChangeSituationType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<LinkChangeSituationType>, Constable

public enum LinkChangeSituationType extends Enum<LinkChangeSituationType> implements TypeSafeEnum
In what situations (change-related) does the link match? EXPERIMENTAL. Think about broader applicability for transitional policy rules.
  • Enum Constant Details

    • ALWAYS

      public static final LinkChangeSituationType ALWAYS
      Link always matches (even if it existed but does not any more).
    • ADDED

      public static final LinkChangeSituationType ADDED
      Link matches only if it was just added (i.e. its existence went from false to true).
    • REMOVED

      public static final LinkChangeSituationType REMOVED
      Link matches only if it was just removed (i.e. existence went from true to false).
    • IN_NEW

      public static final LinkChangeSituationType IN_NEW
      Link matches if it exists in the "new" state (i.e. it existence went from any to true).
    • IN_OLD

      public static final LinkChangeSituationType IN_OLD
      Link matches if it exists in the "old" state (i.e. it existence went from true to any).
    • CHANGED

      public static final LinkChangeSituationType CHANGED
      Link matches if its existence was changed (false->true or true->false).
    • UNCHANGED

      public static final LinkChangeSituationType UNCHANGED
      Link matches if its existence was unchanged (false->false or true->true).
  • Method Details

    • values

      public static LinkChangeSituationType[] 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 LinkChangeSituationType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static LinkChangeSituationType fromValue(String v)