Enum Class SubscriptionState.TimeValidityStatus

java.lang.Object
java.lang.Enum<SubscriptionState.TimeValidityStatus>
com.evolveum.midpoint.repo.common.subscription.SubscriptionState.TimeValidityStatus
All Implemented Interfaces:
Serializable, Comparable<SubscriptionState.TimeValidityStatus>, Constable
Enclosing class:
SubscriptionState

public static enum SubscriptionState.TimeValidityStatus extends Enum<SubscriptionState.TimeValidityStatus>
Enumeration for the validity status of the subscription.
  • Enum Constant Details

    • FULLY_ACTIVE

      public static final SubscriptionState.TimeValidityStatus FULLY_ACTIVE
      The subscription ID is OK, and the declared time has not passed. E.g. for 0524, the time is <= May 31th, 2024.
    • IN_GRACE_PERIOD

      public static final SubscriptionState.TimeValidityStatus IN_GRACE_PERIOD
      The subscription ID is OK, and we are in the grace period (if available). E.g. for 0524, it June-Aug 2024.
    • EXPIRED

      public static final SubscriptionState.TimeValidityStatus EXPIRED
      The subscription period has passed; including the (optional) grace period.
  • Method Details

    • values

      public static SubscriptionState.TimeValidityStatus[] 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 SubscriptionState.TimeValidityStatus 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