Class SingleStepJobAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.SingleStepJobAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(SingleStepJobProperties.class) @AutoConfigureBefore(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class) public class SingleStepJobAutoConfiguration extends Object
Autoconfiguration to create a single step Spring Batch Job.
Since:
2.3
Author:
Michael Minella
  • Constructor Details

    • SingleStepJobAutoConfiguration

      public SingleStepJobAutoConfiguration(SingleStepJobProperties properties, org.springframework.context.ApplicationContext context)
  • Method Details

    • job

      @Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.batch.job", name="job-name") public org.springframework.batch.core.Job job(org.springframework.batch.item.ItemReader<Map<String,Object>> itemReader, org.springframework.batch.item.ItemWriter<Map<String,Object>> itemWriter)