public static enum PrivacyItem.Type extends Enum<PrivacyItem.Type>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
public static final PrivacyItem.Type group
public static final PrivacyItem.Type jid
public static final PrivacyItem.Type subscription
public static 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 nameNullPointerException
- if the argument is null