Interface GerritPermission
- All Known Subinterfaces:
ChangePermissionOrLabel
,CoreOrPluginProjectPermission
,GlobalOrPluginPermission
- All Known Implementing Classes:
AbstractLabelPermission
,AbstractLabelPermission.WithValue
,ChangePermission
,GlobalPermission
,LabelPermission
,LabelPermission.WithValue
,LabelRemovalPermission
,LabelRemovalPermission.WithValue
,PluginPermission
,PluginProjectPermission
,ProjectPermission
,RefPermission
public interface GerritPermission
Gerrit permission for hosts, projects, refs, changes, labels and plugins.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
describeEnumValue
(Enum<?> value) A description in the context of an exception message.
-
Method Details
-
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. -
describeEnumValue
-