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.kie.api.definition.rule.Rule |
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 |
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.DroolsEntryPoint
public void insert(Object object, boolean dynamic)
insert
in interface org.drools.model.DroolsEntryPoint
public org.kie.api.definition.rule.Rule getRule()
getRule
in interface org.kie.api.runtime.rule.RuleContext
public org.kie.api.runtime.rule.Match getMatch()
getMatch
in interface org.kie.api.runtime.rule.RuleContext
public org.kie.api.runtime.rule.FactHandle insertLogical(Object object)
insertLogical
in interface org.kie.api.runtime.rule.RuleContext
public org.kie.api.runtime.rule.FactHandle insertLogical(Object object, Object value)
insertLogical
in interface org.kie.api.runtime.rule.RuleContext
public void blockMatch(org.kie.api.runtime.rule.Match match)
blockMatch
in interface org.kie.api.runtime.rule.RuleContext
public void unblockAllMatches(org.kie.api.runtime.rule.Match match)
unblockAllMatches
in interface org.kie.api.runtime.rule.RuleContext
public void cancelMatch(org.kie.api.runtime.rule.Match match)
cancelMatch
in interface org.kie.api.runtime.rule.RuleContext
public void update(Object object, String... modifiedProperties)
update
in interface org.drools.model.DroolsEntryPoint
public void update(Object object, org.drools.model.BitMask modifiedProperties)
update
in interface org.drools.model.DroolsEntryPoint
public void update(org.kie.api.runtime.rule.FactHandle handle, Object newObject)
public void delete(Object object)
delete
in interface org.drools.model.DroolsEntryPoint
public <T> T getRuntime(Class<T> runtimeClass)
getRuntime
in interface org.drools.model.Drools
public <T> T getContext(Class<T> contextClass)
getContext
in interface org.drools.model.Drools
public org.drools.model.DroolsEntryPoint getEntryPoint(String name)
getEntryPoint
in interface org.drools.model.Drools
public void halt()
halt
in interface org.drools.model.Drools
public void setFocus(String focus)
setFocus
in interface org.drools.model.Drools
public org.kie.api.runtime.KieRuntime getKieRuntime()
getKieRuntime
in interface org.kie.api.runtime.KieContext
public org.kie.api.runtime.KieRuntime getKnowledgeRuntime()
getKnowledgeRuntime
in interface org.kie.api.runtime.KieContext
public org.drools.core.spi.KnowledgeHelper asKnowledgeHelper()
public org.drools.model.Channel getChannel(String name)
getChannel
in interface org.drools.model.Drools
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.