Oracle Fusion Middleware
Oracle WebLogic SIP Server API Reference
11g Release 1 (10.3.4)

Part Number E17873-02

com.bea.wcp.profile
Enum ProfileSubscription.ProfileSubscriptionState

java.lang.Object
  extended by java.lang.Enum<ProfileSubscription.ProfileSubscriptionState>
      extended by 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.


Enum Constant Summary
ACTIVE
           
INACTIVE
           
PENDING
           
 
Method Summary
static ProfileSubscription.ProfileSubscriptionState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProfileSubscription.ProfileSubscriptionState[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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
 

Enum Constant Detail

PENDING

public static final ProfileSubscription.ProfileSubscriptionState PENDING

ACTIVE

public static final ProfileSubscription.ProfileSubscriptionState ACTIVE

INACTIVE

public static final ProfileSubscription.ProfileSubscriptionState INACTIVE
Method Detail

values

public static ProfileSubscription.ProfileSubscriptionState[] values()
Returns an array containing the constants of this enum type, in the order they're 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're 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

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic SIP Server API Reference
11g Release 1 (10.3.4)

Part Number E17873-02