Package org.springframework.batch.core.job.builder

Examples of org.springframework.batch.core.job.builder.SimpleJobBuilder


    @Autowired
    private StepBuilderFactory steps;

    @Bean
    public Job beansConfigurerJob() throws Exception {
      SimpleJobBuilder builder = jobs.get("beans").start(step1());
      return builder.build();
    }
View Full Code Here


    @Autowired
    private StepBuilderFactory steps;

    @Bean
    public Job testJob() throws Exception {
      SimpleJobBuilder builder = jobs.get("test").start(step1()).next(step2());
      return builder.build();
    }
View Full Code Here

    @Autowired
    private StepBuilderFactory steps;

    @Bean
    public Job vanillaJob() throws Exception {
      SimpleJobBuilder builder = jobs.get("vanilla").start(step3());
      return builder.build();
    }
View Full Code Here

    @Autowired
    private StepBuilderFactory steps;

    @Bean
    public Job testJob() throws Exception {
      SimpleJobBuilder builder = jobs.get("test").start(step1()).next(step2());
      return builder.build();
    }
View Full Code Here

    @Autowired
    private Tasklet tasklet;

    @Bean
    public Job anotherJob() throws Exception {
      SimpleJobBuilder builder = jobs.get("another").start(step3());
      return builder.build();
    }
View Full Code Here

    @Autowired
    private SimpleBatchConfiguration jobs;

    @Bean
    public Job testConfigererJob() throws Exception {
      SimpleJobBuilder builder = jobs.jobBuilders().get("configurer").start(step1());
      return builder.build();
    }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.job.builder.SimpleJobBuilder

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.