Drools :: ReteOO 6.1.0.Beta3

org.drools.reteoo.common
Class ReteWorkingMemoryEntryPoint

java.lang.Object
  extended by org.drools.reteoo.common.ReteWorkingMemoryEntryPoint
All Implemented Interfaces:
org.drools.core.common.InternalWorkingMemoryEntryPoint, org.drools.core.WorkingMemoryEntryPoint, org.kie.api.runtime.rule.EntryPoint

public class ReteWorkingMemoryEntryPoint
extends Object
implements org.drools.core.WorkingMemoryEntryPoint, org.drools.core.common.InternalWorkingMemoryEntryPoint


Constructor Summary
ReteWorkingMemoryEntryPoint(ReteWorkingMemory reteWm, org.drools.core.WorkingMemoryEntryPoint delegate)
           
 
Method Summary
 void delete(org.kie.api.runtime.rule.FactHandle handle)
           
 void delete(org.kie.api.runtime.rule.FactHandle factHandle, org.drools.core.definitions.rule.impl.RuleImpl rule, org.drools.core.spi.Activation activation)
           
 void dispose()
           
 org.drools.core.rule.EntryPointId getEntryPoint()
           
 String getEntryPointId()
           
 org.drools.core.reteoo.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>
Collection<T>
getFactHandles()
           
<T extends org.kie.api.runtime.rule.FactHandle>
Collection<T>
getFactHandles(org.kie.api.runtime.ObjectFilter filter)
           
 org.drools.core.common.InternalWorkingMemory getInternalWorkingMemory()
           
 org.drools.core.impl.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)
           
 org.drools.core.common.ObjectStore getObjectStore()
           
 org.drools.core.common.ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
           
 org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
           
 org.kie.api.runtime.rule.FactHandle insert(Object object)
           
 org.kie.api.runtime.rule.FactHandle insert(Object object, boolean dynamic)
           
 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, long mask, Class<?> modifiedClass, org.drools.core.spi.Activation activation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteWorkingMemoryEntryPoint

public ReteWorkingMemoryEntryPoint(ReteWorkingMemory reteWm,
                                   org.drools.core.WorkingMemoryEntryPoint delegate)
Method Detail

getEntryPointId

public String getEntryPointId()
Specified by:
getEntryPointId in interface org.kie.api.runtime.rule.EntryPoint

insert

public org.kie.api.runtime.rule.FactHandle insert(Object object)
Specified by:
insert in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
insert in interface org.kie.api.runtime.rule.EntryPoint

insert

public org.kie.api.runtime.rule.FactHandle insert(Object object,
                                                  boolean dynamic)
Specified by:
insert in interface org.drools.core.WorkingMemoryEntryPoint

retract

public void retract(org.kie.api.runtime.rule.FactHandle handle)
Specified by:
retract in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
retract in interface org.kie.api.runtime.rule.EntryPoint

delete

public void delete(org.kie.api.runtime.rule.FactHandle handle)
Specified by:
delete in interface org.kie.api.runtime.rule.EntryPoint

update

public void update(org.kie.api.runtime.rule.FactHandle handle,
                   Object object)
Specified by:
update in interface org.drools.core.WorkingMemoryEntryPoint
Specified by:
update in interface org.kie.api.runtime.rule.EntryPoint

getFactHandle

public org.kie.api.runtime.rule.FactHandle getFactHandle(Object object)
Specified by:
getFactHandle in interface org.kie.api.runtime.rule.EntryPoint

getObject

public Object getObject(org.kie.api.runtime.rule.FactHandle factHandle)
Specified by:
getObject in interface org.kie.api.runtime.rule.EntryPoint

getObjects

public Collection<? extends Object> getObjects()
Specified by:
getObjects in interface org.kie.api.runtime.rule.EntryPoint

getObjects

public Collection<? extends Object> getObjects(org.kie.api.runtime.ObjectFilter filter)
Specified by:
getObjects in interface org.kie.api.runtime.rule.EntryPoint

getFactHandles

public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
Specified by:
getFactHandles in interface org.kie.api.runtime.rule.EntryPoint

getFactHandles

public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles(org.kie.api.runtime.ObjectFilter filter)
Specified by:
getFactHandles in interface org.kie.api.runtime.rule.EntryPoint

getFactCount

public long getFactCount()
Specified by:
getFactCount in interface org.kie.api.runtime.rule.EntryPoint

getWorkingMemoryEntryPoint

public org.drools.core.WorkingMemoryEntryPoint getWorkingMemoryEntryPoint(String name)
Specified by:
getWorkingMemoryEntryPoint in interface org.drools.core.WorkingMemoryEntryPoint

dispose

public void dispose()
Specified by:
dispose in interface org.drools.core.WorkingMemoryEntryPoint

getObjectTypeConfigurationRegistry

public org.drools.core.common.ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
Specified by:
getObjectTypeConfigurationRegistry in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getKnowledgeBase

public org.drools.core.impl.InternalKnowledgeBase getKnowledgeBase()
Specified by:
getKnowledgeBase in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

delete

public void delete(org.kie.api.runtime.rule.FactHandle factHandle,
                   org.drools.core.definitions.rule.impl.RuleImpl rule,
                   org.drools.core.spi.Activation activation)
Specified by:
delete in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

update

public void update(org.kie.api.runtime.rule.FactHandle handle,
                   Object object,
                   long mask,
                   Class<?> modifiedClass,
                   org.drools.core.spi.Activation activation)
Specified by:
update in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getEntryPoint

public org.drools.core.rule.EntryPointId getEntryPoint()
Specified by:
getEntryPoint in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getInternalWorkingMemory

public org.drools.core.common.InternalWorkingMemory getInternalWorkingMemory()
Specified by:
getInternalWorkingMemory in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getFactHandleByIdentity

public org.kie.api.runtime.rule.FactHandle getFactHandleByIdentity(Object object)
Specified by:
getFactHandleByIdentity in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

reset

public void reset()
Specified by:
reset in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getObjectStore

public org.drools.core.common.ObjectStore getObjectStore()
Specified by:
getObjectStore in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

getEntryPointNode

public org.drools.core.reteoo.EntryPointNode getEntryPointNode()
Specified by:
getEntryPointNode in interface org.drools.core.common.InternalWorkingMemoryEntryPoint

Drools :: ReteOO 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.