Class DeployerStepExecutionHandler

java.lang.Object
org.springframework.cloud.task.batch.partition.DeployerStepExecutionHandler
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

public class DeployerStepExecutionHandler extends Object implements org.springframework.boot.CommandLineRunner

A CommandLineRunner used to execute a Step. No result is provided directly to the associated DeployerPartitionHandler as it will obtain the step results directly from the shared job repository.

The StepExecution is rehydrated based on the environment variables provided. Specifically, the following variables are required:

Author:
Michael Minella
  • Constructor Details

    • DeployerStepExecutionHandler

      public DeployerStepExecutionHandler(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.batch.core.explore.JobExplorer jobExplorer, org.springframework.batch.core.repository.JobRepository jobRepository)
  • Method Details

    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception