Enum Class SubmitRequirementExpressionInfo.Status
java.lang.Object
java.lang.Enum<SubmitRequirementExpressionInfo.Status>
com.google.gerrit.extensions.common.SubmitRequirementExpressionInfo.Status
- All Implemented Interfaces:
Serializable
,Comparable<SubmitRequirementExpressionInfo.Status>
,java.lang.constant.Constable
- Enclosing class:
- SubmitRequirementExpressionInfo
public static enum SubmitRequirementExpressionInfo.Status
extends Enum<SubmitRequirementExpressionInfo.Status>
Values in this enum should match with values in
SubmitRequirementExpressionResult.Status
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred while evaluating the expression.Expression was evaluated and the result was false.Expression was not evaluated.Expression was evaluated and the result was true. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASS
Expression was evaluated and the result was true. -
FAIL
Expression was evaluated and the result was false. -
ERROR
An error occurred while evaluating the expression. -
NOT_EVALUATED
Expression was not evaluated.
-
-
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
-