@Override public void onCycleFail(IncrementalCycleStatus status, long elapsed, TimeUnit unit) { this.status = status.getStatus(); this.recordsAddedOrModified = status.getRecordsAddedOrModified(); this.recordsRemoved = status.getRecordsRemoved(); this.version = status.getVersion(); this.cause = status.getCause(); this.cycleMetadata = status.getCycleMetadata(); }
@Override public void onCycleComplete(IncrementalCycleStatus status, long elapsed, TimeUnit unit) { this.status = status.getStatus(); this.recordsAddedOrModified = status.getRecordsAddedOrModified(); this.recordsRemoved = status.getRecordsRemoved(); this.version = status.getVersion(); this.cycleMetadata = status.getCycleMetadata(); }