public class DroolsImpl extends Object implements org.drools.model.Drools, org.kie.api.runtime.rule.RuleContext
| Modifier and Type | Method and Description |
|---|---|
org.drools.core.spi.KnowledgeHelper |
asKnowledgeHelper() |
void |
blockMatch(org.kie.api.runtime.rule.Match match) |
void |
cancelMatch(org.kie.api.runtime.rule.Match match) |
void |
delete(Object object) |
org.drools.model.Channel |
getChannel(String name) |
<T> T |
getContext(Class<T> contextClass) |
org.drools.model.DroolsEntryPoint |
getEntryPoint(String name) |
org.kie.api.runtime.KieRuntime |
getKieRuntime() |
org.kie.api.runtime.KieRuntime |
getKnowledgeRuntime() |
org.kie.api.runtime.rule.Match |
getMatch() |
org.drools.core.definitions.rule.impl.RuleImpl |
getRule() |
<T> T |
getRuntime(Class<T> runtimeClass) |
void |
halt() |
void |
insert(Object object) |
void |
insert(Object object,
boolean dynamic) |
org.kie.api.runtime.rule.FactHandle |
insertLogical(Object object) |
org.kie.api.runtime.rule.FactHandle |
insertLogical(Object object,
Object value) |
void |
logicalInsert(Object object) |
void |
setFocus(String focus) |
void |
unblockAllMatches(org.kie.api.runtime.rule.Match match) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
Object newObject) |
void |
update(Object object,
org.drools.model.BitMask modifiedProperties) |
void |
update(Object object,
String... modifiedProperties) |
public void insert(Object object)
insert in interface org.drools.model.DroolsEntryPointpublic void insert(Object object, boolean dynamic)
insert in interface org.drools.model.DroolsEntryPointpublic void logicalInsert(Object object)
logicalInsert in interface org.drools.model.Droolspublic org.drools.core.definitions.rule.impl.RuleImpl getRule()
getRule in interface org.kie.api.runtime.rule.RuleContextpublic org.kie.api.runtime.rule.Match getMatch()
getMatch in interface org.kie.api.runtime.rule.RuleContextpublic org.kie.api.runtime.rule.FactHandle insertLogical(Object object)
insertLogical in interface org.kie.api.runtime.rule.RuleContextpublic org.kie.api.runtime.rule.FactHandle insertLogical(Object object, Object value)
insertLogical in interface org.kie.api.runtime.rule.RuleContextpublic void blockMatch(org.kie.api.runtime.rule.Match match)
blockMatch in interface org.kie.api.runtime.rule.RuleContextpublic void unblockAllMatches(org.kie.api.runtime.rule.Match match)
unblockAllMatches in interface org.kie.api.runtime.rule.RuleContextpublic void cancelMatch(org.kie.api.runtime.rule.Match match)
cancelMatch in interface org.kie.api.runtime.rule.RuleContextpublic void update(Object object, String... modifiedProperties)
update in interface org.drools.model.DroolsEntryPointpublic void update(Object object, org.drools.model.BitMask modifiedProperties)
update in interface org.drools.model.DroolsEntryPointpublic void update(org.kie.api.runtime.rule.FactHandle handle,
Object newObject)
public void delete(Object object)
delete in interface org.drools.model.DroolsEntryPointpublic <T> T getRuntime(Class<T> runtimeClass)
getRuntime in interface org.drools.model.Droolspublic <T> T getContext(Class<T> contextClass)
getContext in interface org.drools.model.Droolspublic org.drools.model.DroolsEntryPoint getEntryPoint(String name)
getEntryPoint in interface org.drools.model.Droolspublic void halt()
halt in interface org.drools.model.Droolspublic void setFocus(String focus)
setFocus in interface org.drools.model.Droolspublic org.kie.api.runtime.KieRuntime getKieRuntime()
getKieRuntime in interface org.kie.api.runtime.KieContextpublic org.kie.api.runtime.KieRuntime getKnowledgeRuntime()
getKnowledgeRuntime in interface org.kie.api.runtime.KieContextpublic org.drools.core.spi.KnowledgeHelper asKnowledgeHelper()
public org.drools.model.Channel getChannel(String name)
getChannel in interface org.drools.model.DroolsCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.