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