|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KnowledgeRuntime
Method Summary | ||
---|---|---|
Calendars |
getCalendars()
|
|
Map<String,Channel> |
getChannels()
|
|
Environment |
getEnvironment()
|
|
Object |
getGlobal(String identifier)
|
|
Globals |
getGlobals()
|
|
KnowledgeBase |
getKnowledgeBase()
Returns the KnowledgeBase reference from which this stateful session was created. |
|
|
getSessionClock()
Returns the session clock instance assigned to this session |
|
KnowledgeSessionConfiguration |
getSessionConfiguration()
|
|
void |
registerChannel(String name,
Channel channel)
|
|
void |
registerExitPoint(String name,
ExitPoint exitPoint)
Deprecated. Use registerChannel(String, Channel) instead. |
|
void |
setGlobal(String identifier,
Object value)
Sets a global value on the internal collection |
|
void |
unregisterChannel(String name)
|
|
void |
unregisterExitPoint(String name)
Deprecated. Use unregisterChannel(String) instead. |
Methods inherited from interface org.drools.runtime.rule.WorkingMemory |
---|
getAgenda, getQueryResults, getWorkingMemoryEntryPoint, getWorkingMemoryEntryPoints, halt, openLiveQuery |
Methods inherited from interface org.drools.runtime.rule.WorkingMemoryEntryPoint |
---|
getEntryPointId, getFactCount, getFactHandle, getFactHandles, getFactHandles, getObject, getObjects, getObjects, insert, retract, update |
Methods inherited from interface org.drools.runtime.process.ProcessRuntime |
---|
abortProcessInstance, createProcessInstance, getProcessInstance, getProcessInstances, getWorkItemManager, signalEvent, signalEvent, startProcess, startProcess, startProcessInstance |
Methods inherited from interface org.drools.event.rule.WorkingMemoryEventManager |
---|
addEventListener, addEventListener, getAgendaEventListeners, getWorkingMemoryEventListeners, removeEventListener, removeEventListener |
Methods inherited from interface org.drools.event.process.ProcessEventManager |
---|
addEventListener, getProcessEventListeners, removeEventListener |
Method Detail |
---|
<T extends SessionClock> T getSessionClock()
void setGlobal(String identifier, Object value)
identifier
- the global identifiervalue
- the value assigned to the global identifierObject getGlobal(String identifier)
Globals getGlobals()
Calendars getCalendars()
Environment getEnvironment()
KnowledgeBase getKnowledgeBase()
@Deprecated void registerExitPoint(String name, ExitPoint exitPoint)
registerChannel(String, Channel)
instead.
@Deprecated void unregisterExitPoint(String name)
unregisterChannel(String)
instead.
void registerChannel(String name, Channel channel)
void unregisterChannel(String name)
Map<String,Channel> getChannels()
KnowledgeSessionConfiguration getSessionConfiguration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |