use of org.drools.core.common.PhreakPropagationContext in project drools by kiegroup.
the class LeftBuilder method update.
public LeftBuilder update(Object... objects) {
for (Object object : objects) {
InternalFactHandle fh = (InternalFactHandle) wm.getFactHandle(object);
LeftTuple leftTuple = fh.getFirstLeftTuple();
leftTuple.setPropagationContext(new PhreakPropagationContext());
leftTuples.addUpdate(leftTuple);
}
return this;
}
use of org.drools.core.common.PhreakPropagationContext in project drools by kiegroup.
the class LeftBuilder method delete.
public LeftBuilder delete(Object... objects) {
for (Object object : objects) {
InternalFactHandle fh = (InternalFactHandle) wm.getFactHandle(object);
LeftTuple leftTuple = fh.getFirstLeftTuple();
leftTuple.setPropagationContext(new PhreakPropagationContext());
leftTuples.addDelete(leftTuple);
}
return this;
}
Aggregations