org.kuali.rice.krms.framework.engine
Class ProviderBasedEngine
java.lang.Object
org.kuali.rice.krms.framework.engine.ProviderBasedEngine
- All Implemented Interfaces:
- Engine
public class ProviderBasedEngine
- extends Object
- implements Engine
Method Summary |
protected ExecutionEnvironment |
establishExecutionEnvironment(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
|
EngineResults |
execute(SelectionCriteria selectionCriteria,
Facts facts,
ExecutionOptions executionOptions)
Initiates execution of the rules engine. |
EngineResults |
execute(SelectionCriteria selectionCriteria,
Map<String,Object> facts,
ExecutionOptions executionOptions)
Initiates execution of the rules engine. |
protected Context |
selectContext(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
|
void |
setContextProvider(ContextProvider contextProvider)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProviderBasedEngine
public ProviderBasedEngine()
execute
public EngineResults execute(SelectionCriteria selectionCriteria,
Map<String,Object> facts,
ExecutionOptions executionOptions)
- Description copied from interface:
Engine
- Initiates execution of the rules engine.
- Specified by:
execute
in interface Engine
- Parameters:
selectionCriteria
- informs the engine of the criteria to use for selection of contexts and agendasfacts
- the facts that the rule engine can use during execution. Since this signature does not pass in
Term
s, all terms are defined with only a name, and term parameters can not be specified.executionOptions
- defines various options that instruct the rules engine on how to perform it's execution
- Returns:
- the results of engine execution
execute
public EngineResults execute(SelectionCriteria selectionCriteria,
Facts facts,
ExecutionOptions executionOptions)
- Description copied from interface:
Engine
- Initiates execution of the rules engine.
- Specified by:
execute
in interface Engine
- Parameters:
selectionCriteria
- informs the engine of the criteria to use for selection of contexts and agendasfacts
- the facts that the rule engine can use during executionexecutionOptions
- defines various options that instruct the rules engine on how to perform it's execution
- Returns:
- the results of engine execution
establishExecutionEnvironment
protected ExecutionEnvironment establishExecutionEnvironment(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
selectContext
protected Context selectContext(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
setContextProvider
public void setContextProvider(ContextProvider contextProvider)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.