this.constraintVariableName = constraintVariableName;
return this;
}
public BetaNode build() {
NodeFactory nFactory = buildContext.getComponentFactory().getNodeFactoryService();
EntryPointNode epn = nFactory.buildEntryPointNode(buildContext.getNextId(),
buildContext.getKnowledgeBase().getRete(),
buildContext);
epn.attach(buildContext);
ObjectTypeNode otn = nFactory.buildObjectTypeNode(buildContext.getNextId(),
epn,
new ClassObjectType(leftType),
buildContext);
LeftInputAdapterNode leftInput = nFactory.buildLeftInputAdapterNode(buildContext.getNextId(),
otn,
buildContext);
ObjectSource rightInput = nFactory.buildObjectTypeNode(buildContext.getNextId(),
epn,
new ClassObjectType(rightType),
buildContext);
ReteTesterHelper reteTesterHelper = new ReteTesterHelper();