@Configuration @Conditional(value=JobLaunchCondition.class) @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,
org.springframework.boot.autoconfigure.batch.BatchProperties batchProperties) |
@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, org.springframework.boot.autoconfigure.batch.BatchProperties batchProperties)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.