public final class PluginProjectPermission extends Object implements CoreOrPluginProjectPermission
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_PERMISSION_NAME_PATTERN_STRING |
Constructor and Description |
---|
PluginProjectPermission(String pluginName,
String permission) |
Modifier and Type | Method and Description |
---|---|
String |
describeForException()
A description in the context of an exception message.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
permission() |
String |
pluginName() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
describeEnumValue
public static final String PLUGIN_PERMISSION_NAME_PATTERN_STRING
public String pluginName()
public String permission()
public String describeForException()
GerritPermission
Should be grammatical when used in the construction "not permitted: [description] on
[resource]", although individual PermissionBackend
implementations may vary the
wording.
describeForException
in interface GerritPermission