Package com.bea.wcp.profile
Enum Class ProfileSubscription.ProfileSubscriptionState
java.lang.Object
java.lang.Enum<ProfileSubscription.ProfileSubscriptionState>
com.bea.wcp.profile.ProfileSubscription.ProfileSubscriptionState
- All Implemented Interfaces:
Serializable,Comparable<ProfileSubscription.ProfileSubscriptionState>,Constable
- Enclosing interface:
- ProfileSubscription
public static enum ProfileSubscription.ProfileSubscriptionState
extends Enum<ProfileSubscription.ProfileSubscriptionState>
PENDING means the subscription request has been submitted, and the
final state of the subscription is not yet known. The calling application
can listen to
ACTIVE means the subscription is currently active, and ready to receive updates about the document being subscribed to.
INACTIVE means the subscription has either been rejected, expired, or errored out. In any case, the application will not be receiving updates about the document.
ProfileListener to be notified of the
state changes. The subscription request will either be accepted, with
the state changing to ACTIVE, or rejected, with the state changing
to INACTIVE.
ACTIVE means the subscription is currently active, and ready to receive updates about the document being subscribed to.
INACTIVE means the subscription has either been rejected, expired, or errored out. In any case, the application will not be receiving updates about the document.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
-
ACTIVE
-
INACTIVE
-
-
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
-