public class DisconnectedWorkingMemoryEntryPoint extends Object implements WorkingMemoryEntryPoint, Serializable
| Constructor and Description |
|---|
DisconnectedWorkingMemoryEntryPoint(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.kie.api.runtime.rule.FactHandle handle) |
void |
delete(org.kie.api.runtime.rule.FactHandle handle,
org.kie.api.runtime.rule.FactHandle.State fhState) |
void |
delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode) |
void |
delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState) |
void |
dispose()
Internal method called by the engine when the session is being disposed, so that the entry point
can proceed with the necessary clean ups.
|
EntryPointId |
getEntryPoint() |
String |
getEntryPointId() |
EntryPointNode |
getEntryPointNode() |
long |
getFactCount() |
org.kie.api.runtime.rule.FactHandle |
getFactHandle(Object object) |
org.kie.api.runtime.rule.FactHandle |
getFactHandleByIdentity(Object object) |
<T extends org.kie.api.runtime.rule.FactHandle> |
getFactHandles() |
<T extends org.kie.api.runtime.rule.FactHandle> |
getFactHandles(org.kie.api.runtime.ObjectFilter filter) |
FactHandleFactory |
getHandleFactory() |
InternalWorkingMemory |
getInternalWorkingMemory() |
InternalKnowledgeBase |
getKnowledgeBase() |
Object |
getObject(org.kie.api.runtime.rule.FactHandle factHandle) |
Collection<? extends Object> |
getObjects() |
Collection<? extends Object> |
getObjects(org.kie.api.runtime.ObjectFilter filter) |
ObjectStore |
getObjectStore() |
ObjectTypeConfigurationRegistry |
getObjectTypeConfigurationRegistry() |
TruthMaintenanceSystem |
getTruthMaintenanceSystem() |
WorkingMemoryEntryPoint |
getWorkingMemoryEntryPoint(String name) |
org.kie.api.runtime.rule.FactHandle |
insert(Object object) |
org.kie.api.runtime.rule.FactHandle |
insert(Object object,
boolean dynamic)
Insert a fact registering JavaBean
PropertyChangeListeners
on the Object to automatically trigger update calls
if dynamic is true. |
void |
reset() |
void |
retract(org.kie.api.runtime.rule.FactHandle handle) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
Object object) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation) |
void |
update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
String... modifiedProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRuleUnit, setRuleUnitpublic DisconnectedWorkingMemoryEntryPoint(String id)
public String getEntryPointId()
getEntryPointId in interface org.kie.api.runtime.rule.EntryPointpublic EntryPointId getEntryPoint()
getEntryPoint in interface WorkingMemoryEntryPointpublic long getFactCount()
getFactCount in interface org.kie.api.runtime.rule.EntryPointpublic org.kie.api.runtime.rule.FactHandle getFactHandle(Object object)
getFactHandle in interface org.kie.api.runtime.rule.EntryPointpublic <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
getFactHandles in interface org.kie.api.runtime.rule.EntryPointpublic <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles(org.kie.api.runtime.ObjectFilter filter)
getFactHandles in interface org.kie.api.runtime.rule.EntryPointpublic Object getObject(org.kie.api.runtime.rule.FactHandle factHandle)
getObject in interface org.kie.api.runtime.rule.EntryPointpublic Collection<? extends Object> getObjects()
getObjects in interface org.kie.api.runtime.rule.EntryPointpublic Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter filter)
getObjects in interface org.kie.api.runtime.rule.EntryPointpublic org.kie.api.runtime.rule.FactHandle insert(Object object)
insert in interface org.kie.api.runtime.rule.EntryPointpublic org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic)
WorkingMemoryEntryPointPropertyChangeListeners
on the Object to automatically trigger update calls
if dynamic is true.insert in interface WorkingMemoryEntryPointobject - The fact object.dynamic - true if Drools should add JavaBean
PropertyChangeListeners to the object.public void retract(org.kie.api.runtime.rule.FactHandle handle)
retract in interface org.kie.api.runtime.rule.EntryPointpublic void delete(org.kie.api.runtime.rule.FactHandle handle)
delete in interface org.kie.api.runtime.rule.EntryPointpublic void delete(org.kie.api.runtime.rule.FactHandle handle,
org.kie.api.runtime.rule.FactHandle.State fhState)
delete in interface org.kie.api.runtime.rule.EntryPointpublic void update(org.kie.api.runtime.rule.FactHandle handle,
Object object)
update in interface org.kie.api.runtime.rule.EntryPointpublic void update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
String... modifiedProperties)
update in interface org.kie.api.runtime.rule.EntryPointpublic WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
getWorkingMemoryEntryPoint in interface WorkingMemoryEntryPointpublic void dispose()
WorkingMemoryEntryPointdispose in interface WorkingMemoryEntryPointpublic ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
getObjectTypeConfigurationRegistry in interface WorkingMemoryEntryPointpublic InternalKnowledgeBase getKnowledgeBase()
getKnowledgeBase in interface WorkingMemoryEntryPointpublic void delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode)
delete in interface WorkingMemoryEntryPointpublic void delete(org.kie.api.runtime.rule.FactHandle factHandle,
RuleImpl rule,
TerminalNode terminalNode,
org.kie.api.runtime.rule.FactHandle.State fhState)
delete in interface WorkingMemoryEntryPointpublic void update(org.kie.api.runtime.rule.FactHandle handle,
Object object,
BitMask mask,
Class<?> modifiedClass,
Activation activation)
update in interface WorkingMemoryEntryPointpublic TruthMaintenanceSystem getTruthMaintenanceSystem()
getTruthMaintenanceSystem in interface WorkingMemoryEntryPointpublic InternalWorkingMemory getInternalWorkingMemory()
getInternalWorkingMemory in interface WorkingMemoryEntryPointpublic org.kie.api.runtime.rule.FactHandle getFactHandleByIdentity(Object object)
getFactHandleByIdentity in interface WorkingMemoryEntryPointpublic void reset()
reset in interface WorkingMemoryEntryPointpublic ObjectStore getObjectStore()
getObjectStore in interface WorkingMemoryEntryPointpublic FactHandleFactory getHandleFactory()
getHandleFactory in interface WorkingMemoryEntryPointpublic EntryPointNode getEntryPointNode()
getEntryPointNode in interface WorkingMemoryEntryPointCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.