Class SubmitRequirementExpressionInfo
java.lang.Object
com.google.gerrit.extensions.common.SubmitRequirementExpressionInfo
Result of evaluating a single submit requirement expression. This API entity is populated from
SubmitRequirementExpressionResult
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Values in this enum should match with values inSubmitRequirementExpressionResult.Status
. -
Field Summary
FieldsModifier and TypeFieldDescriptionOptional error message.Submit requirement expression as a String.A list of all atoms that are failing, for example query "branch:refs/heads/foo and project:bar" has two atoms: ["branch:refs/heads/foo", "project:bar"].boolean
A boolean indicating if the expression is fulfilled on a change.A list of all atoms that are passing, for example query "branch:refs/heads/foo and project:bar" has two atoms: ["branch:refs/heads/foo", "project:bar"].A status indicating if the expression is fulfilled, non-fulfilled or not evaluated. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
expression
Submit requirement expression as a String. -
fulfilled
public boolean fulfilledA boolean indicating if the expression is fulfilled on a change. -
status
A status indicating if the expression is fulfilled, non-fulfilled or not evaluated. -
passingAtoms
A list of all atoms that are passing, for example query "branch:refs/heads/foo and project:bar" has two atoms: ["branch:refs/heads/foo", "project:bar"]. -
failingAtoms
A list of all atoms that are failing, for example query "branch:refs/heads/foo and project:bar" has two atoms: ["branch:refs/heads/foo", "project:bar"]. -
errorMessage
Optional error message. Contains an explanation of why the submit requirement expression failed during its evaluation.
-
-
Constructor Details
-
SubmitRequirementExpressionInfo
public SubmitRequirementExpressionInfo()
-
-
Method Details