public void prepareBatcher(Batcher batcher) { if (jobName != null) { batcher.withJobName(jobName); } if (batchSize != null && batchSize > 0) { batcher.withBatchSize(batchSize); } if (threadCount != null && threadCount > 0) { batcher.withThreadCount(threadCount); } if (forestConfig != null) { batcher.withForestConfig(forestConfig); } }