|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.reteoo.ReteooStatelessSession
public class ReteooStatelessSession
| Constructor Summary | |
|---|---|
ReteooStatelessSession()
|
|
ReteooStatelessSession(InternalRuleBase ruleBase)
|
|
| Method Summary | |
|---|---|
void |
addEventListener(AgendaEventListener listener)
Add an event listener. |
void |
addEventListener(RuleBaseEventListener listener)
Add an event listener. |
void |
addEventListener(WorkingMemoryEventListener listener)
Add an event listener. |
void |
execute(Collection collection)
Insert a List of facts, an fire the rules, returning when finished. |
void |
execute(Object object)
Insert a single fact, an fire the rules, returning when finished. |
void |
execute(Object[] array)
Insert an array of facts, an fire the rules, returning when finished. |
StatelessSessionResult |
executeWithResults(Collection collection)
Similar to the normal execute method, but this will return "results". |
StatelessSessionResult |
executeWithResults(Object object)
Similar to the normal execute method, but this will return "results". |
StatelessSessionResult |
executeWithResults(Object[] array)
Similar to the normal execute method, but this will return "results". |
List |
getAgendaEventListeners()
Returns all event listeners. |
InternalRuleBase |
getRuleBase()
|
List |
getRuleBaseEventListeners()
Returns all event listeners. |
List |
getWorkingMemoryEventListeners()
Returns all event listeners. |
InternalWorkingMemory |
newWorkingMemory()
|
void |
readExternal(ObjectInput in)
|
void |
removeEventListener(AgendaEventListener listener)
Remove an event listener. |
void |
removeEventListener(RuleBaseEventListener listener)
Remove an event listener. |
void |
removeEventListener(WorkingMemoryEventListener listener)
Remove an event listener. |
void |
setAgendaFilter(AgendaFilter agendaFilter)
|
void |
setGlobal(String identifier,
Object value)
Sets a global value |
void |
setGlobalExporter(GlobalExporter globalExporter)
Used to specify a global exporting strategy so that global variables can be available to StatelessSessionResults. |
void |
setGlobalResolver(GlobalResolver globalResolver)
Delegate used to resolve any global names not found in the global map. |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReteooStatelessSession()
public ReteooStatelessSession(InternalRuleBase ruleBase)
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic InternalRuleBase getRuleBase()
getRuleBase in interface InternalStatelessSessionpublic InternalWorkingMemory newWorkingMemory()
public void addEventListener(WorkingMemoryEventListener listener)
WorkingMemoryEventManager
addEventListener in interface WorkingMemoryEventManagerlistener - The listener to add.public void removeEventListener(WorkingMemoryEventListener listener)
WorkingMemoryEventManager
removeEventListener in interface WorkingMemoryEventManagerlistener - The listener to remove.public List getWorkingMemoryEventListeners()
WorkingMemoryEventManager
getWorkingMemoryEventListeners in interface WorkingMemoryEventManagerpublic void addEventListener(AgendaEventListener listener)
WorkingMemoryEventManager
addEventListener in interface WorkingMemoryEventManagerlistener - The listener to add.public void removeEventListener(AgendaEventListener listener)
WorkingMemoryEventManager
removeEventListener in interface WorkingMemoryEventManagerlistener - The listener to remove.public List getAgendaEventListeners()
WorkingMemoryEventManager
getAgendaEventListeners in interface WorkingMemoryEventManagerpublic void addEventListener(RuleBaseEventListener listener)
RuleBaseEventManager
addEventListener in interface RuleBaseEventManagerlistener - The listener to add.public List getRuleBaseEventListeners()
RuleBaseEventManager
getRuleBaseEventListeners in interface RuleBaseEventManagerpublic void removeEventListener(RuleBaseEventListener listener)
RuleBaseEventManager
removeEventListener in interface RuleBaseEventManagerlistener - The listener to remove.public void setAgendaFilter(AgendaFilter agendaFilter)
setAgendaFilter in interface StatelessSession
public void setGlobal(String identifier,
Object value)
StatelessSession
setGlobal in interface StatelessSessionpublic void setGlobalResolver(GlobalResolver globalResolver)
StatelessSession
setGlobalResolver in interface StatelessSessionpublic void setGlobalExporter(GlobalExporter globalExporter)
StatelessSession
setGlobalExporter in interface StatelessSessionglobalExporter - The GlobalExporter instancepublic void execute(Object object)
StatelessSession
execute in interface StatelessSessionpublic void execute(Object[] array)
StatelessSession
execute in interface StatelessSessionpublic void execute(Collection collection)
StatelessSession
execute in interface StatelessSessionpublic StatelessSessionResult executeWithResults(Object object)
StatelessSession
executeWithResults in interface StatelessSessionpublic StatelessSessionResult executeWithResults(Object[] array)
StatelessSession
executeWithResults in interface StatelessSessionpublic StatelessSessionResult executeWithResults(Collection collection)
StatelessSession
executeWithResults in interface StatelessSession
|
Drools :: Core 6.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||