public enum NamedPermissions extends Enum<NamedPermissions>
Enum Constant and Description |
---|
ALLOW_HTTP_FROM_ANYWHERE |
ALLOW_HTTPS_FROM_ANYWHERE |
ALLOW_SSH_FROM_ANYWHERE |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<Permission> |
APPLICATION_SERVER_PERMISSIONS |
Modifier and Type | Method and Description |
---|---|
Permission |
getPermission() |
static NamedPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NamedPermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamedPermissions ALLOW_SSH_FROM_ANYWHERE
public static final NamedPermissions ALLOW_HTTP_FROM_ANYWHERE
public static final NamedPermissions ALLOW_HTTPS_FROM_ANYWHERE
public static final com.google.common.collect.ImmutableList<Permission> APPLICATION_SERVER_PERMISSIONS
public static NamedPermissions[] values()
for (NamedPermissions c : NamedPermissions.values()) System.out.println(c);
public static NamedPermissions 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 nullpublic Permission getPermission()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.