Class SubmitRequirementExpressionInfo
- java.lang.Object
-
- com.google.gerrit.extensions.common.SubmitRequirementExpressionInfo
-
public class SubmitRequirementExpressionInfo extends Object
Result of evaluating a single submit requirement expression.
-
-
Field Summary
Fields Modifier and Type Field Description String
errorMessage
Optional error message.String
expression
Submit requirement expression as a String.List<String>
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"].boolean
fulfilled
A boolean indicating if the expression is fulfilled on a change.List<String>
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"].
-
Constructor Summary
Constructors Constructor Description SubmitRequirementExpressionInfo()
-
-
-
Field Detail
-
expression
public String expression
Submit requirement expression as a String.
-
fulfilled
public boolean fulfilled
A boolean indicating if the expression is fulfilled on a change.
-
passingAtoms
public List<String> 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
public List<String> 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
public String errorMessage
Optional error message. Contains an explanation of why the submit requirement expression failed during its evaluation.
-
-