public class DefaultJobParametersExtractor extends Object implements JobParametersExtractor
JobParametersExtractorwhich pulls parameters with named keys out of the step execution context and the job parameters of the surrounding job.
|Constructor and Description|
|Modifier and Type||Method and Description|
Extract job parameters from the step execution, for example from the execution context or other properties.
The key names to pull out of the execution context or job parameters, if they exist.
public void setKeys(String keys)
(string)will be assumed to refer to values of the respective type and assigned to job parameters accordingly (there will be an error if they are not of the right type). Without a special suffix in that form a parameter is assumed to be of type String.
keys- the keys to set
public JobParameters getJobParameters(Job job, StepExecution stepExecution)
Copyright © 2013 SpringSource. All rights reserved.