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, waitdescribeEnumValuepublic static final String PLUGIN_PERMISSION_NAME_PATTERN_STRING
public String pluginName()
public String permission()
public String describeForException()
GerritPermissionShould be grammatical when used in the construction "not permitted: [description] on
[resource]", although individual PermissionBackend implementations may vary the
wording.
describeForException in interface GerritPermission