public class PluginPermission extends Object implements GlobalOrPluginPermission
| Constructor and Description |
|---|
PluginPermission(String pluginName,
String capability) |
PluginPermission(String pluginName,
String capability,
boolean fallBackToAdmin) |
| Modifier and Type | Method and Description |
|---|---|
String |
capability() |
String |
describeForException()
A description in the context of an exception message.
|
boolean |
equals(Object other) |
boolean |
fallBackToAdmin() |
int |
hashCode() |
String |
pluginName() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdescribeEnumValuepublic String pluginName()
public String capability()
public boolean fallBackToAdmin()
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