public static enum PrivacyRule.Action extends Enum<PrivacyRule.Action>
| Enum Constant and Description |
|---|
ALLOW
Allows communication.
|
DENY
Denies (blocks) communication.
|
| Modifier and Type | Method and Description |
|---|---|
static PrivacyRule.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivacyRule.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivacyRule.Action ALLOW
public static final PrivacyRule.Action DENY
public static PrivacyRule.Action[] values()
for (PrivacyRule.Action c : PrivacyRule.Action.values()) System.out.println(c);
public static PrivacyRule.Action 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 nullCopyright © 2014–2015 XMPP.rocks. All rights reserved.