Package com.google.gerrit.server.rules
Interface PrologSubmitRuleUtil
public interface PrologSubmitRuleUtil
Provides prolog-related operations to different callers.
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(ChangeData cd, String ruleToTest, boolean skipFilters) Evaluates a submit rule.Returns the submit-type of a change depending on the change data and the definition of the prolog rules file.getSubmitType
(ChangeData cd, String ruleToTest, boolean skipFilters) Returns the submit-type of a change depending on the change data and the definition of the prolog rules file.boolean
Returns true if prolog rules are enabled for the project.
-
Method Details
-
getSubmitType
Returns the submit-type of a change depending on the change data and the definition of the prolog rules file. -
getSubmitType
Returns the submit-type of a change depending on the change data and the definition of the prolog rules file. -
evaluate
Evaluates a submit rule. -
isProjectRulesEnabled
boolean isProjectRulesEnabled()Returns true if prolog rules are enabled for the project.
-