01: package org.drools.reteoo;
02:
03: import org.drools.common.InternalFactHandle;
04: import org.drools.common.InternalWorkingMemory;
05: import org.drools.spi.PropagationContext;
06:
07: public class LIANodePropagation {
08: private final LeftInputAdapterNode node;
09: private final InternalFactHandle handle;
10: private final PropagationContext context;
11:
12: public LIANodePropagation(final LeftInputAdapterNode node,
13: final InternalFactHandle handle,
14: final PropagationContext context) {
15: super ();
16: this .node = node;
17: this .handle = handle;
18: this .context = context;
19: }
20:
21: public void doPropagation(InternalWorkingMemory workingMemory) {
22: node.getSinkPropagator().createAndPropagateAssertTuple(handle,
23: context, workingMemory);
24: }
25:
26: }
|