|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.framework.engine.ProviderBasedEngine
public class ProviderBasedEngine
An implementation of Engine
| Constructor Summary | |
|---|---|
ProviderBasedEngine()
|
|
| Method Summary | |
|---|---|
protected ExecutionEnvironment |
establishExecutionEnvironment(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
Return a BasicExecutionEnvironment using the given parameters |
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)
Load a Context from the contextProvider using the given parameters |
void |
setContextProvider(ContextProvider contextProvider)
Set the ContextProvider |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProviderBasedEngine()
| Method Detail |
|---|
public EngineResults execute(SelectionCriteria selectionCriteria,
Map<String,Object> facts,
ExecutionOptions executionOptions)
Engine
execute in interface EngineselectionCriteria - informs the engine of the SelectionCriteria 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
Terms, all terms are defined with only a name, and term parameters can not be specified.executionOptions - defines various ExecutionOptions that instruct the rules engine on how to perform it's execution
public EngineResults execute(SelectionCriteria selectionCriteria,
Facts facts,
ExecutionOptions executionOptions)
Engine
execute in interface EngineselectionCriteria - informs the engine of the SelectionCriteria to use for selection of contexts and agendasfacts - the facts that the rule engine can use during executionexecutionOptions - defines various ExecutionOptions that instruct the rules engine on how to perform it's execution
EngineResults the results of engine execution
protected ExecutionEnvironment establishExecutionEnvironment(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
BasicExecutionEnvironment using the given parameters
selectionCriteria - SelectionCriteriafacts - executionOptions - ExecutionOptions
ExecutionEnvironment created with the given parameters
protected Context selectContext(SelectionCriteria selectionCriteria,
Map<Term,Object> facts,
ExecutionOptions executionOptions)
selectionCriteria - facts - executionOptions -
Context
IllegalStateException - if the contextProvider is null;loadContextpublic void setContextProvider(ContextProvider contextProvider)
ContextProvider
contextProvider - to loadContext from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||