Package org.springframework.batch.integration.launch

# 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 Summary

  Constructors
  Constructor
  Description
  `JobLaunchRequest(Job job, JobParameters jobParameters)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Job`
  `getJob()`
  `JobParameters`
  `getJobParameters()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JobLaunchRequest

    public JobLaunchRequest(Job job, JobParameters jobParameters)
    Parameters:
      `job` - job to be launched
      `jobParameters` - parameters to run the job with

- ## Method Details

  - ### getJob

    public Job getJob()
    Returns:
      the `Job` to be executed

  - ### getJobParameters

    public JobParameters getJobParameters()
    Returns:
      the `JobParameters` for this request

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`