public static enum RemoteServerManager.PermissionPolicy extends Enum<RemoteServerManager.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 RemoteServerManager.PermissionPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemoteServerManager.PermissionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemoteServerManager.PermissionPolicy blacklist
public static final RemoteServerManager.PermissionPolicy whitelist
public static RemoteServerManager.PermissionPolicy[] values()
for (RemoteServerManager.PermissionPolicy c : RemoteServerManager.PermissionPolicy.values()) System.out.println(c);
public static RemoteServerManager.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.