Package org.springframework.cloud.task.batch.configuration

# Class TaskBatchAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.configuration.TaskBatchAutoConfiguration

@Configuration(proxyBeanMethods=false) @ConditionalOnBean({org.springframework.batch.core.Job.class,TaskLifecycleListener.class}) @ConditionalOnProperty(name={"spring.cloud.task.batch.listener.enable","spring.cloud.task.batch.listener.enabled"}, havingValue="true", matchIfMissing=true) public class TaskBatchAutoConfiguration extends Object
Provides auto configuration for the `TaskBatchExecutionListener`. The spring.cloud.task.batch.listener.enable is deprecated, spring.cloud.task.batch.listener.enabled should be used.

Author:
  Michael Minella

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `TaskBatchAutoConfiguration.TaskBatchExecutionListenerAutoconfiguration`
  Auto configuration for `TaskBatchExecutionListener`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TaskBatchAutoConfiguration()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TaskBatchExecutionListenerBeanPostProcessor`
  `batchTaskExecutionListenerBeanPostProcessor()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TaskBatchAutoConfiguration

    public TaskBatchAutoConfiguration()

- ## Method Details

  - ### batchTaskExecutionListenerBeanPostProcessor

    @Bean @ConditionalOnMissingBean public TaskBatchExecutionListenerBeanPostProcessor batchTaskExecutionListenerBeanPostProcessor()