Interface GerritPermission
-
- All Known Subinterfaces:
ChangePermissionOrLabel
,CoreOrPluginProjectPermission
,GlobalOrPluginPermission
- All Known Implementing Classes:
ChangePermission
,GlobalPermission
,LabelPermission
,LabelPermission.WithValue
,PluginPermission
,PluginProjectPermission
,ProjectPermission
,RefPermission
public interface GerritPermission
Gerrit permission for hosts, projects, refs, changes, labels and plugins.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static String
describeEnumValue(Enum<?> value)
String
describeForException()
A description in the context of an exception message.
-
-
-
Method Detail
-
describeForException
String describeForException()
A description in the context of an exception message.Should be grammatical when used in the construction "not permitted: [description] on [resource]", although individual
PermissionBackend
implementations may vary the wording.
-
-