|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.base.SequentialKnowledgeHelper
public class SequentialKnowledgeHelper
| Constructor Summary | |
|---|---|
SequentialKnowledgeHelper(WorkingMemory workingMemory)
|
|
| Method Summary | ||
|---|---|---|
void |
blockActivation(org.drools.runtime.rule.Activation match)
|
|
void |
cancelActivation(org.drools.runtime.rule.Activation match)
|
|
void |
cancelRemainingPreviousLogicalDependencies()
|
|
|
don(K core,
Class<T> trait)
|
|
|
don(K core,
Class<T> trait,
boolean logical)
|
|
|
don(Thing<K> core,
Class<T> trait)
|
|
|
don(Thing<K> core,
Class<T> trait,
boolean logical)
|
|
Object |
get(Declaration declaration)
|
|
Activation |
getActivation()
|
|
org.drools.runtime.Channel |
getChannel(String id)
|
|
Map<String,org.drools.runtime.Channel> |
getChannels()
|
|
|
getContext(Class<T> contextClass)
|
|
Declaration |
getDeclaration(String identifier)
|
|
org.drools.runtime.rule.WorkingMemoryEntryPoint |
getEntryPoint(String id)
|
|
Map<String,org.drools.runtime.rule.WorkingMemoryEntryPoint> |
getEntryPoints()
|
|
org.drools.runtime.ExitPoint |
getExitPoint(String id)
Deprecated. use getChannels() instead |
|
Map<String,org.drools.runtime.ExitPoint> |
getExitPoints()
Deprecated. use getChannels() instead |
|
FactHandle |
getFactHandle(FactHandle handle)
|
|
FactHandle |
getFactHandle(Object object)
|
|
IdentityHashMap<Object,FactHandle> |
getIdentityMap()
|
|
org.drools.runtime.KnowledgeRuntime |
getKnowledgeRuntime()
|
|
Rule |
getRule()
|
|
Tuple |
getTuple()
|
|
WorkingMemory |
getWorkingMemory()
|
|
void |
halt()
|
|
void |
insert(Object object)
Asserts an object, notice that it does not return the FactHandle |
|
void |
insert(Object object,
boolean dynamic)
Asserts an object specifying that it implement the onPropertyChange listener, notice that it does not return the FactHandle. |
|
void |
insertLogical(Object object)
|
|
void |
insertLogical(Object object,
boolean dynamic)
|
|
void |
insertLogical(Object object,
Object value)
|
|
void |
modify(Object newObject)
|
|
void |
reset()
|
|
void |
retract(FactHandle handle)
|
|
void |
retract(Object handle)
|
|
void |
setActivation(Activation agendaItem)
|
|
void |
setFocus(String focus)
|
|
void |
setIdentityMap(IdentityHashMap<Object,FactHandle> identityMap)
|
|
|
shed(Thing<K> thing,
Class<T> trait)
|
|
|
shed(TraitableBean<K> core,
Class<T> trait)
|
|
void |
unblockAllActivations(org.drools.runtime.rule.Activation match)
|
|
void |
update(FactHandle newObject)
|
|
void |
update(FactHandle newObject,
long mask)
|
|
void |
update(FactHandle handle,
Object newObject)
|
|
void |
update(Object newObject)
|
|
void |
update(Object newObject,
long mask)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SequentialKnowledgeHelper(WorkingMemory workingMemory)
| Method Detail |
|---|
public void setActivation(Activation agendaItem)
setActivation in interface KnowledgeHelperpublic void reset()
reset in interface KnowledgeHelperpublic Rule getRule()
getRule in interface org.drools.runtime.rule.RuleContextgetRule in interface KnowledgeHelperpublic Tuple getTuple()
getTuple in interface KnowledgeHelperpublic WorkingMemory getWorkingMemory()
getWorkingMemory in interface KnowledgeHelperpublic org.drools.runtime.KnowledgeRuntime getKnowledgeRuntime()
getKnowledgeRuntime in interface org.drools.runtime.KnowledgeContextpublic Activation getActivation()
getActivation in interface org.drools.runtime.rule.RuleContextgetActivation in interface KnowledgeHelperpublic void setFocus(String focus)
setFocus in interface KnowledgeHelperpublic Object get(Declaration declaration)
get in interface KnowledgeHelperpublic Declaration getDeclaration(String identifier)
getDeclaration in interface KnowledgeHelperpublic void halt()
halt in interface KnowledgeHelperpublic org.drools.runtime.rule.WorkingMemoryEntryPoint getEntryPoint(String id)
getEntryPoint in interface KnowledgeHelper@Deprecated public org.drools.runtime.ExitPoint getExitPoint(String id)
getChannels() instead
getExitPoint in interface KnowledgeHelperpublic org.drools.runtime.Channel getChannel(String id)
getChannel in interface KnowledgeHelperpublic Map<String,org.drools.runtime.rule.WorkingMemoryEntryPoint> getEntryPoints()
getEntryPoints in interface KnowledgeHelper@Deprecated public Map<String,org.drools.runtime.ExitPoint> getExitPoints()
getChannels() instead
getExitPoints in interface KnowledgeHelperpublic Map<String,org.drools.runtime.Channel> getChannels()
getChannels in interface KnowledgeHelperpublic IdentityHashMap<Object,FactHandle> getIdentityMap()
getIdentityMap in interface KnowledgeHelperpublic void setIdentityMap(IdentityHashMap<Object,FactHandle> identityMap)
setIdentityMap in interface KnowledgeHelperpublic <T> T getContext(Class<T> contextClass)
getContext in interface KnowledgeHelper
public <T,K> T don(K core,
Class<T> trait,
boolean logical)
don in interface KnowledgeHelper
public <T,K> T don(Thing<K> core,
Class<T> trait,
boolean logical)
don in interface KnowledgeHelper
public <T,K> T don(K core,
Class<T> trait)
don in interface KnowledgeHelper
public <T,K> T don(Thing<K> core,
Class<T> trait)
don in interface KnowledgeHelper
public <T,K> Thing<K> shed(Thing<K> thing,
Class<T> trait)
shed in interface KnowledgeHelper
public <T,K> Thing<K> shed(TraitableBean<K> core,
Class<T> trait)
shed in interface KnowledgeHelperpublic void cancelRemainingPreviousLogicalDependencies()
cancelRemainingPreviousLogicalDependencies in interface KnowledgeHelperpublic void insert(Object object)
KnowledgeHelper
insert in interface KnowledgeHelperobject - -
the object to be asserted
public void insert(Object object,
boolean dynamic)
KnowledgeHelper
insert in interface KnowledgeHelperobject - -
the object to be asserteddynamic - -
specifies the object implements onPropertyChangeListenerpublic void insertLogical(Object object)
insertLogical in interface org.drools.runtime.rule.RuleContextinsertLogical in interface KnowledgeHelper
public void insertLogical(Object object,
boolean dynamic)
insertLogical in interface KnowledgeHelper
public void insertLogical(Object object,
Object value)
insertLogical in interface org.drools.runtime.rule.RuleContextpublic FactHandle getFactHandle(Object object)
getFactHandle in interface KnowledgeHelperpublic FactHandle getFactHandle(FactHandle handle)
getFactHandle in interface KnowledgeHelper
public void update(FactHandle handle,
Object newObject)
update in interface KnowledgeHelperpublic void update(FactHandle newObject)
update in interface KnowledgeHelper
public void update(FactHandle newObject,
long mask)
update in interface KnowledgeHelperpublic void retract(FactHandle handle)
retract in interface KnowledgeHelperpublic void update(Object newObject)
update in interface KnowledgeHelper
public void update(Object newObject,
long mask)
update in interface KnowledgeHelperpublic void retract(Object handle)
retract in interface KnowledgeHelperpublic void modify(Object newObject)
modify in interface KnowledgeHelperpublic void blockActivation(org.drools.runtime.rule.Activation match)
blockActivation in interface org.drools.runtime.rule.RuleContextpublic void unblockAllActivations(org.drools.runtime.rule.Activation match)
unblockAllActivations in interface org.drools.runtime.rule.RuleContextpublic void cancelActivation(org.drools.runtime.rule.Activation match)
cancelActivation in interface org.drools.runtime.rule.RuleContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||