|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SubHandlingType>
net.java.sip.communicator.impl.protocol.sip.xcap.model.presrules.SubHandlingType
public enum SubHandlingType
The Presence Rules sub-handling element. Specifies the subscription authorization decision that the server should make.
Compliant with rfc5025.
| Enum Constant Summary | |
|---|---|
Allow
This action tells the server to place the subscription into the "active" state. |
|
Block
This action tells the server to reject the subscription, placing it in the "terminated" state. |
|
Confirm
This action tells the server to place the subscription in the "pending" state, and await input from the presentity to determine how to proceed. |
|
PoliteBlock
This action tells the server to place the subscription into the "active" state, and to produce a presence document that indicates that the presentity is unavailable. |
|
| Method Summary | |
|---|---|
static SubHandlingType |
fromString(String value)
Creates enum from its value. |
String |
value()
Gets the value. |
static SubHandlingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SubHandlingType[] |
values()
Returns an array containing the constants of this enum type, in the order they are 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 |
|---|
public static final SubHandlingType Block
public static final SubHandlingType Confirm
public static final SubHandlingType PoliteBlock
public static final SubHandlingType Allow
| Method Detail |
|---|
public static SubHandlingType[] values()
for (SubHandlingType c : SubHandlingType.values()) System.out.println(c);
public static SubHandlingType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static SubHandlingType fromString(String value)
value - the enum's value.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||