Class JobLauncherApplicationRunner

java.lang.Object
org.springframework.boot.batch.autoconfigure.JobLauncherApplicationRunner
All Implemented Interfaces:
Aware, InitializingBean, ApplicationRunner, ApplicationEventPublisherAware, Ordered

public class JobLauncherApplicationRunner extends Object implements ApplicationRunner, InitializingBean, Ordered, ApplicationEventPublisherAware
ApplicationRunner to launch Spring Batch jobs. If a single job is found in the context, it will be executed by default. If multiple jobs are found, launch a specific job by providing a jobName.
Since:
4.0.0
Author:
Dave Syer, Jean-Pierre Bergamin, Mahmoud Ben Hassine, Stephane Nicoll, Akshay Dubey