Enum Class ShadowLivenessState

java.lang.Object
java.lang.Enum<ShadowLivenessState>
com.evolveum.midpoint.provisioning.api.ShadowLivenessState
All Implemented Interfaces:
Serializable, Comparable<ShadowLivenessState>, Constable

public enum ShadowLivenessState extends Enum<ShadowLivenessState>
Describes shadow liveness (or death) state.
  • Enum Constant Details

    • LIVE

      public static final ShadowLivenessState LIVE
      Shadow is live, i.e. it exists in repo and its dead property is not true.
    • DEAD

      public static final ShadowLivenessState DEAD
      Shadow is dead, i.e. it exists in repo and its dead property is true.
    • DELETED

      public static final ShadowLivenessState DELETED
      Shadow does not exist in repo.
  • Method Details

    • values

      public static ShadowLivenessState[] 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 ShadowLivenessState 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
    • forShadow

      public static ShadowLivenessState forShadow(PrismObject<ShadowType> shadow)
    • forShadowWithState

      public static ShadowLivenessState forShadowWithState(PrismObject<ShadowType> shadow)