&& syncPolicy.getSpecification() != null
? ((SyncPolicySpec) syncPolicy.getSpecification()).getConflictResolutionAction()
: ConflictResolutionAction.IGNORE;
if (syncTask.isFullReconciliation()) {
connector.getAllObjects(ObjectClass.ACCOUNT, new SyncResultsHandler() {
@Override
public boolean handle(final SyncDelta delta) {
try {
return results.addAll(handleDelta(syncTask, delta, conflictResolutionAction, dryRun));
} catch (JobExecutionException e) {
LOG.error("Reconciliation failed", e);
return false;
}
}
}, connector.getOperationOptions(syncTask.getResource()));
} else {
connector.sync(syncTask.getResource().getSyncToken(), new SyncResultsHandler() {
@Override
public boolean handle(final SyncDelta delta) {
try {