public enum PluginPermission extends Enum<PluginPermission> implements Permission
| Enum Constant and Description |
|---|
VIEW_PLUGIN |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultDescription() |
static PluginPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDescription, getName, getType, namepublic static final PluginPermission VIEW_PLUGIN
public static PluginPermission[] values()
for (PluginPermission c : PluginPermission.values()) System.out.println(c);
public static PluginPermission 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 String getDefaultDescription()
getDefaultDescription in interface PermissionCopyright © 2018 Pivotal Software, Inc.. All rights reserved.