public Wirer( int index ) {
this.index = index;
}
public void wire( Object object ) {
Accumulator accumulator = KiePolicyHelper.isPolicyEnabled() ? new SafeAccumulator((Accumulator) object) : (Accumulator) object;
accumulators[index] = accumulator;
for ( Accumulate clone : cloned ) {
clone.accumulators[index] = accumulator;
}
}