public class DroolsImpl extends Object implements 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) |
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,
BitMask modifiedProperties) |
void |
update(Object object,
String... modifiedProperties) |
public void insert(Object object)
insert
in interface DroolsEntryPoint
public void insert(Object object, boolean dynamic)
insert
in interface 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 DroolsEntryPoint
public void update(Object object, BitMask modifiedProperties)
update
in interface DroolsEntryPoint
public void update(org.kie.api.runtime.rule.FactHandle handle, Object newObject)
public void delete(Object object)
delete
in interface DroolsEntryPoint
public <T> T getRuntime(Class<T> runtimeClass)
getRuntime
in interface Drools
public DroolsEntryPoint getEntryPoint(String name)
getEntryPoint
in interface 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()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.