@Configuration
@ConditionalOnProperty(name="spring.cloud.task.batch.fail-on-job-failure",
havingValue="true")
@EnableConfigurationProperties(value=TaskBatchProperties.class)
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class)
public class TaskJobLauncherAutoConfiguration
extends Object
TaskJobLauncherCommandLineRunner.| Constructor and Description |
|---|
TaskJobLauncherAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TaskJobLauncherCommandLineRunnerFactoryBean |
jobLauncherCommandLineRunner(org.springframework.batch.core.launch.JobLauncher jobLauncher,
org.springframework.batch.core.explore.JobExplorer jobExplorer,
List<org.springframework.batch.core.Job> jobs,
org.springframework.batch.core.configuration.JobRegistry jobRegistry,
org.springframework.batch.core.repository.JobRepository jobRepository) |
@Bean public TaskJobLauncherCommandLineRunnerFactoryBean jobLauncherCommandLineRunner(org.springframework.batch.core.launch.JobLauncher jobLauncher, org.springframework.batch.core.explore.JobExplorer jobExplorer, List<org.springframework.batch.core.Job> jobs, org.springframework.batch.core.configuration.JobRegistry jobRegistry, org.springframework.batch.core.repository.JobRepository jobRepository)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.