Enum SubmitRequirementExpressionInfo.Status
- java.lang.Object
-
- java.lang.Enum<SubmitRequirementExpressionInfo.Status>
-
- com.google.gerrit.extensions.common.SubmitRequirementExpressionInfo.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<SubmitRequirementExpressionInfo.Status>
- Enclosing class:
- SubmitRequirementExpressionInfo
public static enum SubmitRequirementExpressionInfo.Status extends Enum<SubmitRequirementExpressionInfo.Status>
Values in this enum should match with values inSubmitRequirementExpressionResult.Status
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
An error occurred while evaluating the expression.FAIL
Expression was evaluated and the result was false.NOT_EVALUATED
Expression was not evaluated.PASS
Expression was evaluated and the result was true.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubmitRequirementExpressionInfo.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubmitRequirementExpressionInfo.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PASS
public static final SubmitRequirementExpressionInfo.Status PASS
Expression was evaluated and the result was true.
-
FAIL
public static final SubmitRequirementExpressionInfo.Status FAIL
Expression was evaluated and the result was false.
-
ERROR
public static final SubmitRequirementExpressionInfo.Status ERROR
An error occurred while evaluating the expression.
-
NOT_EVALUATED
public static final SubmitRequirementExpressionInfo.Status NOT_EVALUATED
Expression was not evaluated.
-
-
Method Detail
-
values
public static SubmitRequirementExpressionInfo.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubmitRequirementExpressionInfo.Status c : SubmitRequirementExpressionInfo.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubmitRequirementExpressionInfo.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-