task.getRcp().setBatchSize((int) data.getLong(PARAM_BATCHSIZE));
}
task.setRecursive(data.optBoolean(PARAM_RECURSIVE, false));
task.getRcp().setUpdate(data.optBoolean(PARAM_UPDATE, false));
task.getRcp().setOnlyNewer(data.optBoolean(PARAM_ONLY_NEWER, false));
task.getRcp().setNoOrdering(data.optBoolean(PARAM_NO_ORDERING, false));
if (data.has(PARAM_THROTTLE)) {
task.getRcp().setThrottle(data.getLong(PARAM_THROTTLE));
}
if (data.has(PARAM_EXCLUDES)) {
JSONArray excludes = data.getJSONArray(PARAM_EXCLUDES);