Package com.google.gerrit.entities
Enum Class SubmitRecord.Label.Status
- All Implemented Interfaces:
Serializable
,Comparable<SubmitRecord.Label.Status>
,java.lang.constant.Constable
- Enclosing class:
- SubmitRecord.Label
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe label is required for submission, but is impossible to complete.The label may be set, but it's neither necessary for submission nor does it block submission if set.The label is required for submission, but has not been satisfied.This label provides what is necessary for submission.This label prevents the change from being submitted. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubmitRecord.Label.Status
Returns the enum constant of this class with the specified name.static SubmitRecord.Label.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
This label provides what is necessary for submission.If provided,
SubmitRecord.Label.appliedBy
describes the user account that applied this label to the change. -
REJECT
This label prevents the change from being submitted.If provided,
SubmitRecord.Label.appliedBy
describes the user account that applied this label to the change. -
NEED
The label is required for submission, but has not been satisfied. -
MAY
The label may be set, but it's neither necessary for submission nor does it block submission if set. -
IMPOSSIBLE
The label is required for submission, but is impossible to complete. The likely cause is access has not been granted correctly by the project owner or site administrator.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-