Class JobLaunchRequest

java.lang.Object
org.springframework.batch.integration.launch.JobLaunchRequest

public class JobLaunchRequest extends Object
Encapsulation of a Job and its JobParameters forming a request for a job to be launched.
Author:
Dave Syer
  • Constructor Details

    • JobLaunchRequest

      public JobLaunchRequest(org.springframework.batch.core.job.Job job, org.springframework.batch.core.job.parameters.JobParameters jobParameters)
      Parameters:
      job - job to be launched
      jobParameters - parameters to run the job with
  • Method Details

    • getJob

      public org.springframework.batch.core.job.Job getJob()
      Returns:
      the Job to be executed
    • getJobParameters

      public org.springframework.batch.core.job.parameters.JobParameters getJobParameters()
      Returns:
      the JobParameters for this request
    • toString

      public String toString()
      Overrides:
      toString in class Object