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