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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe subscription period has passed; including the (optional) grace period.The subscription ID is OK, and the declared time has not passed.The subscription ID is OK, and we are in the grace period (if available). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SubscriptionState.TimeValidityStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
The subscription ID is OK, and we are in the grace period (if available). E.g. for 0524, it June-Aug 2024. -
EXPIRED
The subscription period has passed; including the (optional) grace period.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-