|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.StatelessKnowledgeSessionAdapter
public class StatelessKnowledgeSessionAdapter
| Constructor Summary | |
|---|---|
StatelessKnowledgeSessionAdapter(org.kie.internal.runtime.StatelessKnowledgeSession delegate)
|
|
| Method Summary | ||
|---|---|---|
void |
addEventListener(AgendaEventListener listener)
Add an event listener. |
|
void |
addEventListener(ProcessEventListener listener)
Add a process event listener. |
|
void |
addEventListener(WorkingMemoryEventListener listener)
Add an event listener. |
|
|
execute(Command<T> command)
Execute the command and return a ExecutionResults for the results of the Command. |
|
void |
execute(Iterable objects)
Execute a StatelessKnowledSession, iterate the Iterable inserting each of it's elements. |
|
void |
execute(Object object)
Execute a StatelessKnowledSession inserting just a single object. |
|
Collection<AgendaEventListener> |
getAgendaEventListeners()
Returns all event listeners. |
|
Globals |
getGlobals()
Return the Globals store |
|
Collection<ProcessEventListener> |
getProcessEventListeners()
Returns all event listeners. |
|
Collection<WorkingMemoryEventListener> |
getWorkingMemoryEventListeners()
Returns all event listeners. |
|
void |
removeEventListener(AgendaEventListener listener)
Remove an event listener. |
|
void |
removeEventListener(ProcessEventListener listener)
Remove a process event listener. |
|
void |
removeEventListener(WorkingMemoryEventListener listener)
Remove an event listener. |
|
void |
setGlobal(String identifer,
Object value)
Sets a global value on the globals store |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatelessKnowledgeSessionAdapter(org.kie.internal.runtime.StatelessKnowledgeSession delegate)
| Method Detail |
|---|
public Globals getGlobals()
StatelessKnowledgeSession
getGlobals in interface StatelessKnowledgeSession
public void setGlobal(String identifer,
Object value)
StatelessKnowledgeSession
setGlobal in interface StatelessKnowledgeSessionidentifer - the global identifiervalue - the value assigned to the global identifierpublic <T> T execute(Command<T> command)
CommandExecutor
execute in interface CommandExecutorpublic void addEventListener(ProcessEventListener listener)
ProcessEventManager
addEventListener in interface ProcessEventManagerlistener - the listener to add.public void removeEventListener(ProcessEventListener listener)
ProcessEventManager
removeEventListener in interface ProcessEventManagerlistener - the listener to removepublic Collection<ProcessEventListener> getProcessEventListeners()
ProcessEventManager
getProcessEventListeners in interface ProcessEventManagerpublic void execute(Object object)
StatelessRuleSession
execute in interface StatelessRuleSessionpublic void execute(Iterable objects)
StatelessRuleSession
execute in interface StatelessRuleSessionpublic 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 Collection<WorkingMemoryEventListener> 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 Collection<AgendaEventListener> getAgendaEventListeners()
WorkingMemoryEventManager
getAgendaEventListeners in interface WorkingMemoryEventManager
|
Knowledge API Legacy5 Adapter 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||