Class TaskBatchAutoConfiguration

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

@AutoConfiguration @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
  • Constructor Details

    • TaskBatchAutoConfiguration

      public TaskBatchAutoConfiguration()
  • Method Details