List of usage examples for org.springframework.boot CommandLineRunner interface-usage
From source file org.camunda.bpm.spring.boot.example.simple.SimpleApplication.java
@SpringBootApplication @EnableScheduling @EnableProcessApplication("mySimpleApplication") public class SimpleApplication implements CommandLineRunner { boolean processApplicationStopped;
From source file org.cloudfoundry.dependency.resource.InAction.java
public class InAction implements CommandLineRunner { private final Path destination; private final OutputUtils outputUtils;
From source file org.springframework.boot.autoconfigure.batch.JobLauncherCommandLineRunner.java
/**
* {@link CommandLineRunner} to {@link JobLauncher launch} Spring Batch jobs. Runs all
* jobs in the surrounding context by default. Can also be used to launch a specific job
* by providing a jobName
*
* @author Dave Syer
From source file org.springframework.cloud.dataflow.app.launcher.ModuleLauncherRunner.java
/**
* Spring boot {@link ApplicationRunner} that triggers {@link ModuleLauncher} to launch the modules.
*
* @author Marius Bogoevici
* @author Ilayaperumal Gopinathan
* @author Eric Bottard
From source file org.springframework.cloud.stream.module.launcher.ModuleLauncherRunner.java
/**
* Spring boot {@link ApplicationRunner} that triggers {@link ModuleLauncher} to launch the modules.
*
* @author Marius Bogoevici
* @author Ilayaperumal Gopinathan
* @author Eric Bottard
From source file org.springframework.cloud.task.batch.handler.TaskJobLauncherCommandLineRunner.java
/**
* {@link CommandLineRunner} to {@link JobLauncher launch} Spring Batch jobs. Runs all
* jobs in the surrounding context by default and throw an exception upon the
* first job that returns an {@link ExitStatus} of FAILED.
* Can also be used to launch a specific job by providing a jobName. The
* TaskJobLaunchercommandLineRunner takes the place of the
From source file org.springframework.cloud.task.batch.partition.DeployerStepExecutionHandler.java
/**
* <p>A {@link CommandLineRunner} used to execute a {@link Step}. No result is provided
* directly to the associated {@link DeployerPartitionHandler} as it will obtain the step
* results directly from the shared job repository.</p>
*
* <p>The {@link StepExecution} is rehydrated based on the environment variables provided.
From source file org.springframework.cloud.task.sparkapp.cluster.SparkAppClusterRunner.java
/**
* {@link CommandLineRunner} implementation that will run a Spark App in cluster mode using
* configuration properties provided.
*
* @author Thomas Risberg
*/
From source file org.springframework.yarn.boot.support.AppmasterLauncherRunner.java
/**
* {@link CommandLineRunner} to {@link YarnAppmaster run} Spring Yarn appmaster.
*
* @author Janne Valkealahti
*
*/
From source file org.springframework.yarn.boot.support.ClientLauncherRunner.java
/**
* A {@link CommandLineRunner} handling a default action for {@link YarnClient}.
*
* @author Janne Valkealahti
*
*/