use of org.drools.core.spi.Accumulator in project drools by kiegroup.
the class MultiAccumulate method writeExternal.
public void writeExternal(ObjectOutput out) throws IOException {
super.writeExternal(out);
out.writeInt(accumulators.length);
for (Accumulator acc : accumulators) {
if (acc instanceof CompiledInvoker) {
out.writeObject(null);
} else {
out.writeObject(acc);
}
}
}
Aggregations