public static enum ExternalComponentManager.PermissionPolicy extends Enum<ExternalComponentManager.PermissionPolicy>
Enum Constant and Description |
---|
blacklist
Any XMPP entity is allowed to connect to the server except for those listed in
the not allowed list.
|
whitelist
Only the XMPP entities listed in the allowed list are able to connect to
the server.
|
Modifier and Type | Method and Description |
---|---|
static ExternalComponentManager.PermissionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalComponentManager.PermissionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalComponentManager.PermissionPolicy blacklist
public static final ExternalComponentManager.PermissionPolicy whitelist
public static ExternalComponentManager.PermissionPolicy[] values()
for (ExternalComponentManager.PermissionPolicy c : ExternalComponentManager.PermissionPolicy.values()) System.out.println(c);
public static ExternalComponentManager.PermissionPolicy 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 © 2003-2008 Jive Software.