Skip navigation links
com.bea.wcp.profile
Enum ProfileSubscription.ProfileSubscriptionState
java.lang.Object
java.lang.Enum<ProfileSubscription.ProfileSubscriptionState>
com.bea.wcp.profile.ProfileSubscription.ProfileSubscriptionState
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ProfileSubscription.ProfileSubscriptionState>
- Enclosing interface:
- ProfileSubscription
-
public static enum ProfileSubscription.ProfileSubscriptionState
- extends java.lang.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 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.
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PENDING
public static final ProfileSubscription.ProfileSubscriptionState PENDING
ACTIVE
public static final ProfileSubscription.ProfileSubscriptionState ACTIVE
INACTIVE
public static final ProfileSubscription.ProfileSubscriptionState INACTIVE
values
public static ProfileSubscription.ProfileSubscriptionState[] values()
- Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProfileSubscription.ProfileSubscriptionState c : ProfileSubscription.ProfileSubscriptionState.values())
System.out.println(c);
-
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static ProfileSubscription.ProfileSubscriptionState valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
java.lang.NullPointerException
- if the argument is null
Skip navigation links
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.