final PropagationContext context2 = pctxFactory.createPropagationContext(0,
0,
rule,
(RuleTerminalNodeLeftTuple) knowledgeHelper.getTuple(),
null);
final RuleTerminalNodeLeftTuple tuple2 = new RuleTerminalNodeLeftTuple(new DefaultFactHandle(2,
"cheese"),
node,
true);
node.assertLeftTuple(tuple2,
context2,
(AbstractWorkingMemory) workingMemory);
}
data.add("tested");
}
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
}
public void writeExternal(ObjectOutput out) throws IOException {
}
public String getName() {
return "default";
}
});
final PropagationContext context1 = pctxFactory.createPropagationContext(0,
PropagationContext.INSERTION,
null,
null,
null);
final RuleTerminalNodeLeftTuple tuple1 = new RuleTerminalNodeLeftTuple(new DefaultFactHandle(1,
"cheese"),
node,
true);
rule.setTimer(new DurationTimer(50));