public ChunkBuilder checkpointPolicy(final String policy) { toBuild.setCheckpointPolicy(policy); return this; }
public ChunkBuilder retryLimit(final int retry) { toBuild.setRetryLimit(Integer.toString(retry)); return this; }
public ProcessorBuilder processor() { final ItemProcessor processor = new ItemProcessor(); processor.setProperties(new JSLProperties()); toBuild.setProcessor(processor); return new ProcessorBuilder(processor, this); }
public WriterBuilder writer() { final ItemWriter writer = new ItemWriter(); writer.setProperties(new JSLProperties()); toBuild.setWriter(writer); return new WriterBuilder(writer, this); }
public ReaderBuilder reader() { final ItemReader reader = new ItemReader(); reader.setProperties(new JSLProperties()); toBuild.setReader(reader); return new ReaderBuilder(reader, this); }