Package org.kie.api.runtime
Interface KieRuntime
-
- All Superinterfaces:
EntryPoint
,KieRuntimeEventManager
,ProcessEventManager
,ProcessRuntime
,RuleRuntime
,RuleRuntimeEventManager
- All Known Subinterfaces:
KieSession
public interface KieRuntime extends RuleRuntime, ProcessRuntime, KieRuntimeEventManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Calendars
getCalendars()
java.util.Map<java.lang.String,Channel>
getChannels()
Environment
getEnvironment()
java.lang.Object
getGlobal(java.lang.String identifier)
Globals
getGlobals()
KieBase
getKieBase()
<T extends SessionClock>
TgetSessionClock()
KieSessionConfiguration
getSessionConfiguration()
void
registerChannel(java.lang.String name, Channel channel)
void
setGlobal(java.lang.String identifier, java.lang.Object value)
Sets a global value in this sessionvoid
unregisterChannel(java.lang.String name)
-
Methods inherited from interface org.kie.api.runtime.rule.EntryPoint
delete, delete, getEntryPointId, getFactCount, getFactHandle, getFactHandles, getFactHandles, getObject, getObjects, getObjects, insert, retract, update, update
-
Methods inherited from interface org.kie.api.event.KieRuntimeEventManager
getLogger
-
Methods inherited from interface org.kie.api.event.process.ProcessEventManager
addEventListener, getProcessEventListeners, removeEventListener
-
Methods inherited from interface org.kie.api.runtime.process.ProcessRuntime
abortProcessInstance, createProcessInstance, getProcessInstance, getProcessInstance, getProcessInstances, getWorkItemManager, signalEvent, signalEvent, startProcess, startProcess, startProcess, startProcess, startProcessFromNodeIds, startProcessInstance
-
Methods inherited from interface org.kie.api.runtime.rule.RuleRuntime
getAgenda, getEntryPoint, getEntryPoints, getQueryResults, halt, openLiveQuery
-
Methods inherited from interface org.kie.api.event.rule.RuleRuntimeEventManager
addEventListener, addEventListener, getAgendaEventListeners, getRuleRuntimeEventListeners, removeEventListener, removeEventListener
-
-
-
-
Method Detail
-
getSessionClock
<T extends SessionClock> T getSessionClock()
- Returns:
- the session clock instance assigned to this session
-
setGlobal
void setGlobal(java.lang.String identifier, java.lang.Object value)
Sets a global value in this session- Parameters:
identifier
- the global identifiervalue
- the value assigned to the global identifier
-
getGlobal
java.lang.Object getGlobal(java.lang.String identifier)
-
getGlobals
Globals getGlobals()
-
getCalendars
Calendars getCalendars()
-
getEnvironment
Environment getEnvironment()
-
getKieBase
KieBase getKieBase()
- Returns:
- the KieBase reference from which this stateful session was created.
-
registerChannel
void registerChannel(java.lang.String name, Channel channel)
-
unregisterChannel
void unregisterChannel(java.lang.String name)
-
getChannels
java.util.Map<java.lang.String,Channel> getChannels()
-
getSessionConfiguration
KieSessionConfiguration getSessionConfiguration()
-
-