Package com.google.gerrit.server.project
Class SubmitRuleEvaluator
java.lang.Object
com.google.gerrit.server.project.SubmitRuleEvaluator
Evaluates a submit-like Prolog rule found in the rules.pl file of the current project and filters
the results through rules found in the parent projects, all the way up to All-Projects.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(ChangeData cd) Evaluate the submit rules.Evaluate the submit type rules to get the submit type.
-
Method Details
-
evaluate
Evaluate the submit rules.- Parameters:
cd
- ChangeData to evaluate- Returns:
- List of
SubmitRecord
objects returned from the evaluated rules, including any errors.
-
getSubmitType
Evaluate the submit type rules to get the submit type.- Returns:
- record from the evaluated rules.
-