public class KieImportSessionResolver extends AbstractKieObjectsResolver implements org.kie.api.runtime.KieSession, org.kie.api.runtime.StatelessKieSession
releaseId
Constructor and Description |
---|
KieImportSessionResolver(String name) |
Modifier and Type | Method and Description |
---|---|
void |
abortProcessInstance(long l) |
void |
addEventListener(org.kie.api.event.rule.AgendaEventListener agendaEventListener) |
void |
addEventListener(org.kie.api.event.process.ProcessEventListener processEventListener) |
void |
addEventListener(org.kie.api.event.rule.RuleRuntimeEventListener ruleRuntimeEventListener) |
org.kie.api.runtime.process.ProcessInstance |
createProcessInstance(String s,
Map<String,Object> map) |
void |
delete(org.kie.api.runtime.rule.FactHandle factHandle) |
void |
delete(org.kie.api.runtime.rule.FactHandle factHandle,
org.kie.api.runtime.rule.FactHandle.State state) |
void |
destroy() |
void |
dispose() |
<T> T |
execute(org.kie.api.command.Command<T> command) |
void |
execute(Iterable iterable) |
void |
execute(Object o) |
int |
fireAllRules() |
int |
fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter) |
int |
fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter,
int i) |
int |
fireAllRules(int i) |
void |
fireUntilHalt() |
void |
fireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter) |
org.kie.api.runtime.rule.Agenda |
getAgenda() |
Collection<org.kie.api.event.rule.AgendaEventListener> |
getAgendaEventListeners() |
org.kie.api.runtime.Calendars |
getCalendars() |
Map<String,org.kie.api.runtime.Channel> |
getChannels() |
org.kie.api.runtime.rule.EntryPoint |
getEntryPoint(String s) |
String |
getEntryPointId() |
Collection<? extends org.kie.api.runtime.rule.EntryPoint> |
getEntryPoints() |
org.kie.api.runtime.Environment |
getEnvironment() |
long |
getFactCount() |
org.kie.api.runtime.rule.FactHandle |
getFactHandle(Object o) |
<T extends org.kie.api.runtime.rule.FactHandle> |
getFactHandles() |
<T extends org.kie.api.runtime.rule.FactHandle> |
getFactHandles(org.kie.api.runtime.ObjectFilter objectFilter) |
Object |
getGlobal(String s) |
org.kie.api.runtime.Globals |
getGlobals() |
int |
getId() |
long |
getIdentifier() |
org.kie.api.KieBase |
getKieBase() |
org.kie.api.logger.KieRuntimeLogger |
getLogger() |
Object |
getObject(org.kie.api.runtime.rule.FactHandle factHandle) |
Collection<? extends Object> |
getObjects() |
Collection<? extends Object> |
getObjects(org.kie.api.runtime.ObjectFilter objectFilter) |
Collection<org.kie.api.event.process.ProcessEventListener> |
getProcessEventListeners() |
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(long l) |
org.kie.api.runtime.process.ProcessInstance |
getProcessInstance(long l,
boolean b) |
Collection<org.kie.api.runtime.process.ProcessInstance> |
getProcessInstances() |
org.kie.api.runtime.rule.QueryResults |
getQueryResults(String s,
Object... objects) |
Collection<org.kie.api.event.rule.RuleRuntimeEventListener> |
getRuleRuntimeEventListeners() |
<T extends org.kie.api.time.SessionClock> |
getSessionClock() |
org.kie.api.runtime.KieSessionConfiguration |
getSessionConfiguration() |
org.kie.api.runtime.process.WorkItemManager |
getWorkItemManager() |
void |
halt() |
Object |
init(BlueprintContextHelper context) |
org.kie.api.runtime.rule.FactHandle |
insert(Object o) |
org.kie.api.runtime.rule.LiveQuery |
openLiveQuery(String s,
Object[] objects,
org.kie.api.runtime.rule.ViewChangedEventListener viewChangedEventListener) |
void |
registerChannel(String s,
org.kie.api.runtime.Channel channel) |
void |
removeEventListener(org.kie.api.event.rule.AgendaEventListener agendaEventListener) |
void |
removeEventListener(org.kie.api.event.process.ProcessEventListener processEventListener) |
void |
removeEventListener(org.kie.api.event.rule.RuleRuntimeEventListener ruleRuntimeEventListener) |
void |
retract(org.kie.api.runtime.rule.FactHandle factHandle) |
void |
setGlobal(String s,
Object o) |
void |
signalEvent(String s,
Object o) |
void |
signalEvent(String s,
Object o,
long l) |
org.kie.api.runtime.process.ProcessInstance |
startProcess(String s) |
org.kie.api.runtime.process.ProcessInstance |
startProcess(String s,
Map<String,Object> map) |
org.kie.api.runtime.process.ProcessInstance |
startProcessInstance(long l) |
void |
submit(org.kie.api.runtime.KieSession.AtomicAction action) |
void |
unregisterChannel(String s) |
void |
update(org.kie.api.runtime.rule.FactHandle factHandle,
Object o) |
void |
update(org.kie.api.runtime.rule.FactHandle factHandle,
Object o,
String... modifiedProperties) |
getBundleContext, newStatefulSession, newStatelessSession, resolveKBase, resolveKContainer, resolveKSession, resolveKSession, setBundleContext
public KieImportSessionResolver(String name)
public Object init(BlueprintContextHelper context)
init
in interface Initializable
public int getId()
getId
in interface org.kie.api.runtime.KieSession
public long getIdentifier()
getIdentifier
in interface org.kie.api.runtime.KieSession
public void dispose()
dispose
in interface org.kie.api.runtime.KieSession
public void destroy()
destroy
in interface org.kie.api.runtime.KieSession
public <T extends org.kie.api.time.SessionClock> T getSessionClock()
getSessionClock
in interface org.kie.api.runtime.KieRuntime
public void setGlobal(String s, Object o)
setGlobal
in interface org.kie.api.runtime.KieRuntime
setGlobal
in interface org.kie.api.runtime.StatelessKieSession
public Object getGlobal(String s)
getGlobal
in interface org.kie.api.runtime.KieRuntime
public org.kie.api.runtime.Globals getGlobals()
getGlobals
in interface org.kie.api.runtime.KieRuntime
getGlobals
in interface org.kie.api.runtime.StatelessKieSession
public org.kie.api.runtime.Calendars getCalendars()
getCalendars
in interface org.kie.api.runtime.KieRuntime
public org.kie.api.runtime.Environment getEnvironment()
getEnvironment
in interface org.kie.api.runtime.KieRuntime
public org.kie.api.KieBase getKieBase()
getKieBase
in interface org.kie.api.runtime.KieRuntime
getKieBase
in interface org.kie.api.runtime.StatelessKieSession
public void registerChannel(String s, org.kie.api.runtime.Channel channel)
registerChannel
in interface org.kie.api.runtime.KieRuntime
registerChannel
in interface org.kie.api.runtime.StatelessKieSession
public void unregisterChannel(String s)
unregisterChannel
in interface org.kie.api.runtime.KieRuntime
unregisterChannel
in interface org.kie.api.runtime.StatelessKieSession
public Map<String,org.kie.api.runtime.Channel> getChannels()
getChannels
in interface org.kie.api.runtime.KieRuntime
getChannels
in interface org.kie.api.runtime.StatelessKieSession
public org.kie.api.runtime.KieSessionConfiguration getSessionConfiguration()
getSessionConfiguration
in interface org.kie.api.runtime.KieRuntime
public org.kie.api.logger.KieRuntimeLogger getLogger()
getLogger
in interface org.kie.api.event.KieRuntimeEventManager
public void addEventListener(org.kie.api.event.process.ProcessEventListener processEventListener)
addEventListener
in interface org.kie.api.event.process.ProcessEventManager
public void removeEventListener(org.kie.api.event.process.ProcessEventListener processEventListener)
removeEventListener
in interface org.kie.api.event.process.ProcessEventManager
public Collection<org.kie.api.event.process.ProcessEventListener> getProcessEventListeners()
getProcessEventListeners
in interface org.kie.api.event.process.ProcessEventManager
public void addEventListener(org.kie.api.event.rule.RuleRuntimeEventListener ruleRuntimeEventListener)
addEventListener
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public void removeEventListener(org.kie.api.event.rule.RuleRuntimeEventListener ruleRuntimeEventListener)
removeEventListener
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public Collection<org.kie.api.event.rule.RuleRuntimeEventListener> getRuleRuntimeEventListeners()
getRuleRuntimeEventListeners
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public void addEventListener(org.kie.api.event.rule.AgendaEventListener agendaEventListener)
addEventListener
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public void removeEventListener(org.kie.api.event.rule.AgendaEventListener agendaEventListener)
removeEventListener
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public Collection<org.kie.api.event.rule.AgendaEventListener> getAgendaEventListeners()
getAgendaEventListeners
in interface org.kie.api.event.rule.RuleRuntimeEventManager
public <T> T execute(org.kie.api.command.Command<T> command)
execute
in interface org.kie.api.runtime.CommandExecutor
public org.kie.api.runtime.process.ProcessInstance startProcess(String s)
startProcess
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance startProcess(String s, Map<String,Object> map)
startProcess
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance createProcessInstance(String s, Map<String,Object> map)
createProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance startProcessInstance(long l)
startProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public void signalEvent(String s, Object o)
signalEvent
in interface org.kie.api.runtime.process.ProcessRuntime
public void signalEvent(String s, Object o, long l)
signalEvent
in interface org.kie.api.runtime.process.ProcessRuntime
public Collection<org.kie.api.runtime.process.ProcessInstance> getProcessInstances()
getProcessInstances
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long l)
getProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.ProcessInstance getProcessInstance(long l, boolean b)
getProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public void abortProcessInstance(long l)
abortProcessInstance
in interface org.kie.api.runtime.process.ProcessRuntime
public org.kie.api.runtime.process.WorkItemManager getWorkItemManager()
getWorkItemManager
in interface org.kie.api.runtime.process.ProcessRuntime
public void halt()
halt
in interface org.kie.api.runtime.rule.RuleRuntime
public org.kie.api.runtime.rule.Agenda getAgenda()
getAgenda
in interface org.kie.api.runtime.rule.RuleRuntime
public org.kie.api.runtime.rule.EntryPoint getEntryPoint(String s)
getEntryPoint
in interface org.kie.api.runtime.rule.RuleRuntime
public Collection<? extends org.kie.api.runtime.rule.EntryPoint> getEntryPoints()
getEntryPoints
in interface org.kie.api.runtime.rule.RuleRuntime
public org.kie.api.runtime.rule.QueryResults getQueryResults(String s, Object... objects)
getQueryResults
in interface org.kie.api.runtime.rule.RuleRuntime
public org.kie.api.runtime.rule.LiveQuery openLiveQuery(String s, Object[] objects, org.kie.api.runtime.rule.ViewChangedEventListener viewChangedEventListener)
openLiveQuery
in interface org.kie.api.runtime.rule.RuleRuntime
public String getEntryPointId()
getEntryPointId
in interface org.kie.api.runtime.rule.EntryPoint
public org.kie.api.runtime.rule.FactHandle insert(Object o)
insert
in interface org.kie.api.runtime.rule.EntryPoint
public void retract(org.kie.api.runtime.rule.FactHandle factHandle)
retract
in interface org.kie.api.runtime.rule.EntryPoint
public void delete(org.kie.api.runtime.rule.FactHandle factHandle)
delete
in interface org.kie.api.runtime.rule.EntryPoint
public void delete(org.kie.api.runtime.rule.FactHandle factHandle, org.kie.api.runtime.rule.FactHandle.State state)
delete
in interface org.kie.api.runtime.rule.EntryPoint
public void update(org.kie.api.runtime.rule.FactHandle factHandle, Object o)
update
in interface org.kie.api.runtime.rule.EntryPoint
public void update(org.kie.api.runtime.rule.FactHandle factHandle, Object o, String... modifiedProperties)
update
in interface org.kie.api.runtime.rule.EntryPoint
public org.kie.api.runtime.rule.FactHandle getFactHandle(Object o)
getFactHandle
in interface org.kie.api.runtime.rule.EntryPoint
public Object getObject(org.kie.api.runtime.rule.FactHandle factHandle)
getObject
in interface org.kie.api.runtime.rule.EntryPoint
public Collection<? extends Object> getObjects()
getObjects
in interface org.kie.api.runtime.rule.EntryPoint
public Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter objectFilter)
getObjects
in interface org.kie.api.runtime.rule.EntryPoint
public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
getFactHandles
in interface org.kie.api.runtime.rule.EntryPoint
public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles(org.kie.api.runtime.ObjectFilter objectFilter)
getFactHandles
in interface org.kie.api.runtime.rule.EntryPoint
public long getFactCount()
getFactCount
in interface org.kie.api.runtime.rule.EntryPoint
public int fireAllRules()
fireAllRules
in interface org.kie.api.runtime.rule.StatefulRuleSession
public int fireAllRules(int i)
fireAllRules
in interface org.kie.api.runtime.rule.StatefulRuleSession
public int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
fireAllRules
in interface org.kie.api.runtime.rule.StatefulRuleSession
public int fireAllRules(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int i)
fireAllRules
in interface org.kie.api.runtime.rule.StatefulRuleSession
public void fireUntilHalt()
fireUntilHalt
in interface org.kie.api.runtime.rule.StatefulRuleSession
public void fireUntilHalt(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
fireUntilHalt
in interface org.kie.api.runtime.rule.StatefulRuleSession
public void submit(org.kie.api.runtime.KieSession.AtomicAction action)
submit
in interface org.kie.api.runtime.KieSession
public void execute(Object o)
execute
in interface org.kie.api.runtime.rule.StatelessRuleSession
public void execute(Iterable iterable)
execute
in interface org.kie.api.runtime.rule.StatelessRuleSession
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.