response.setResponseStatus(SyncResponseStatus.RESYNC); break; case DELTA: response.setResponseStatus(SyncResponseStatus.DELTA); break; default: response.setResponseStatus(SyncResponseStatus.NO_DELTA); break;
private static ConfigurationServerSync deepCopy(ConfigurationServerSync source) { if (source == null) { return null; } ConfigurationServerSync copy = new ConfigurationServerSync(); copy.setResponseStatus(source.getResponseStatus()); copy.setConfDeltaBody(source.getConfDeltaBody()); copy.setConfSchemaBody(source.getConfSchemaBody()); return copy; }