Package org.kuali.rice.krms.api.engine
Interface Engine
public interface Engine
An Engine executes using the given
SelectionCriteria, @{link Facts}, and ExecutionOptions returning EngineResults- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionexecute(SelectionCriteria selectionCriteria, Map<String, Object> facts, ExecutionOptions executionOptions) Initiates execution of the rules engine.execute(SelectionCriteria selectionCriteria, Facts facts, ExecutionOptions executionOptions) Initiates execution of the rules engine.
-
Method Details
-
execute
EngineResults execute(SelectionCriteria selectionCriteria, Facts facts, ExecutionOptions executionOptions) Initiates execution of the rules engine.- Parameters:
selectionCriteria- informs the engine of theSelectionCriteriato use for selection of contexts and agendasfacts- the facts that the rule engine can use during executionexecutionOptions- defines variousExecutionOptionsthat instruct the rules engine on how to perform it's execution- Returns:
EngineResultsthe results of engine execution
-
execute
EngineResults execute(SelectionCriteria selectionCriteria, Map<String, Object> facts, ExecutionOptions executionOptions) Initiates execution of the rules engine.- Parameters:
selectionCriteria- informs the engine of theSelectionCriteriato use for selection of contexts and agendasfacts- the facts that the rule engine can use during execution. Since this signature does not pass inTerms, all terms are defined with only a name, and term parameters can not be specified.executionOptions- defines variousExecutionOptionsthat instruct the rules engine on how to perform it's execution- Returns:
- the results of engine execution
-