Package org.springframework.batch.core.launch.support

Examples of org.springframework.batch.core.launch.support.RunIdIncrementer


          @Override
          public RepeatStatus execute(StepContribution contribution,
              ChunkContext chunkContext) throws Exception {
            throw new RuntimeException("Planned");
          }
        }).build()).incrementer(new RunIdIncrementer()).build();
    JobParameters jobParameters = new JobParametersBuilder().addLong("id", 1L, false)
        .addLong("foo", 2L, false).toJobParameters();
    this.runner.execute(this.job, jobParameters);
    this.runner.execute(this.job, jobParameters);
    assertEquals(1, this.jobExplorer.getJobInstances("job", 0, 100).size());
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.launch.support.RunIdIncrementer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.