Class LabelRemovalPermission.WithValue
java.lang.Object
com.google.gerrit.server.permissions.AbstractLabelPermission.WithValue
com.google.gerrit.server.permissions.LabelRemovalPermission.WithValue
- All Implemented Interfaces:
GerritPermission
,ChangePermissionOrLabel
,RefPermissionOrLabel
- Enclosing class:
LabelRemovalPermission
A
LabelRemovalPermission
at a specific value.-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a reference to a label removal at a specific value.WithValue
(LabelType type, LabelValue value) Construct a reference to a label removal at a specific value.Construct a reference to a label removal at a specific value.Construct a reference to a label removal at a specific value. -
Method Summary
Methods inherited from class com.google.gerrit.server.permissions.AbstractLabelPermission.WithValue
describeForException, equals, forUser, hashCode, label, toString, value
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.gerrit.server.permissions.ChangePermissionOrLabel
hintForException
-
Constructor Details
-
WithValue
Construct a reference to a label removal at a specific value.- Parameters:
type
- description of the label.value
- numeric score assigned to the label.
-
WithValue
Construct a reference to a label removal at a specific value.- Parameters:
type
- description of the label.value
- numeric score assigned to the label.
-
WithValue
Construct a reference to a label removal at a specific value.- Parameters:
name
- name of the label, e.g."Code-Review"
or"Verified"
.value
- numeric score assigned to the label.
-
WithValue
Construct a reference to a label removal at a specific value.- Parameters:
label
- label name and vote.
-
-
Method Details
-
permissionName
-