Class JobLaunchRequest
java.lang.Object
org.springframework.batch.integration.launch.JobLaunchRequest
Encapsulation of a
Job and its JobParameters forming a request for a
job to be launched.- Author:
- Dave Syer
-
Constructor Summary
ConstructorsConstructorDescriptionJobLaunchRequest(org.springframework.batch.core.job.Job job, org.springframework.batch.core.job.parameters.JobParameters jobParameters) -
Method Summary
-
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 launchedjobParameters- parameters to run the job with
-
-
Method Details
-
getJob
public org.springframework.batch.core.job.Job getJob()- Returns:
- the
Jobto be executed
-
getJobParameters
public org.springframework.batch.core.job.parameters.JobParameters getJobParameters()- Returns:
- the
JobParametersfor this request
-
toString
-