|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PrivacyItem.Type> org.jivesoftware.smack.packet.PrivacyItem.Type
public static enum PrivacyItem.Type
Type defines if the rule is based on JIDs, roster groups or presence subscription types.
Enum Constant Summary | |
---|---|
group
JID being analyzed should belong to a roster group of the list's owner. |
|
jid
JID being analyzed should have a resource match, domain match or bare JID match. |
|
subscription
JID being analyzed should belong to a contact present in the owner's roster with the specified subscription status. |
Method Summary | |
---|---|
static PrivacyItem.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PrivacyItem.Type[] |
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, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PrivacyItem.Type group
public static final PrivacyItem.Type jid
public static final PrivacyItem.Type subscription
Method Detail |
---|
public static final PrivacyItem.Type[] values()
for(PrivacyItem.Type c : PrivacyItem.Type.values()) System.out.println(c);
public static PrivacyItem.Type 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
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |