public class DroolsStatefulRuleSessionImpl extends Object implements StatefulRuleSession
| Constructor and Description |
|---|
DroolsStatefulRuleSessionImpl(org.kie.api.runtime.KieSession kieSession)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGlobal(String id,
Object value) |
String |
addObject(Object bean) |
void |
executeRules() |
Object |
getGlobal(String id) |
Map<String,Object> |
getGlobals() |
Object |
getObject(String id) |
Map<String,Object> |
getObjects() |
void |
release() |
void |
removeObject(String id) |
void |
reset() |
void |
updateObject(String id,
Object bean) |
public DroolsStatefulRuleSessionImpl(org.kie.api.runtime.KieSession kieSession)
kieSession - The KieSession wrapped by this stateful rule sessionpublic void release()
release in interface StatefulRuleSessionpublic void executeRules()
executeRules in interface StatefulRuleSessionpublic String addObject(Object bean)
addObject in interface StatefulRuleSessionpublic Object getObject(String id)
getObject in interface StatefulRuleSessionpublic Map<String,Object> getObjects()
getObjects in interface StatefulRuleSessionpublic void removeObject(String id)
removeObject in interface StatefulRuleSessionpublic void updateObject(String id, Object bean)
updateObject in interface StatefulRuleSessionpublic void reset()
reset in interface StatefulRuleSessionpublic void addGlobal(String id, Object value)
addGlobal in interface StatefulRuleSessionpublic Object getGlobal(String id)
getGlobal in interface StatefulRuleSessionpublic Map<String,Object> getGlobals()
getGlobals in interface StatefulRuleSessionCopyright © 2017–2020 NTT DATA Corporation. All rights reserved.