Class PluginProjectPermission
- java.lang.Object
- 
- com.google.gerrit.extensions.api.access.PluginProjectPermission
 
- 
- All Implemented Interfaces:
- CoreOrPluginProjectPermission,- GerritPermission
 
 public final class PluginProjectPermission extends Object implements CoreOrPluginProjectPermission Repository permissions defined by plugins.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPLUGIN_PERMISSION_NAME_PATTERN_STRING
 - 
Constructor SummaryConstructors Constructor Description PluginProjectPermission(String pluginName, String permission)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdescribeForException()A description in the context of an exception message.booleanequals(Object other)inthashCode()Stringpermission()StringpluginName()StringtoString()
 
- 
- 
- 
Field Detail- 
PLUGIN_PERMISSION_NAME_PATTERN_STRINGpublic static final String PLUGIN_PERMISSION_NAME_PATTERN_STRING - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
pluginNamepublic String pluginName() 
 - 
permissionpublic String permission() 
 - 
describeForExceptionpublic String describeForException() Description copied from interface:GerritPermissionA description in the context of an exception message.Should be grammatical when used in the construction "not permitted: [description] on [resource]", although individual PermissionBackendimplementations may vary the wording.- Specified by:
- describeForExceptionin interface- GerritPermission
 
 
- 
 
-