Simple implementation of IJobParametersExtractor which pulls parameters with named keys out of the step execution context and the job parameters of the surrounding job. More...
Public Member Functions | |
void | SetKeys (string[] keys) |
The key names to pull out of the execution context or job parameters, if they exist. If a key doesn't exist in the execution context then the job parameters from the enclosing job execution are tried, and if there is nothing there either then no parameter is extracted. Key names ending with (long) , (int) , (double) , (date) or (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. More... | |
JobParameters | GetJobParameters (IJob job, StepExecution stepExecution) |
Properties | |
bool | UseAllParentParameters [set] |
Use all parent parameters flag property. More... | |
Detailed Description
Simple implementation of IJobParametersExtractor which pulls parameters with named keys out of the step execution context and the job parameters of the surrounding job.
Member Function Documentation
JobParameters Summer.Batch.Core.Step.Job.DefaultJobParametersExtractor.GetJobParameters | ( | IJob | job, |
StepExecution | stepExecution | ||
) |
- See also
- IJobParametersExtractor::GetJobParameters(Job, StepExecution).
- Parameters
-
job stepExecution
- Returns
Implements Summer.Batch.Core.Step.Job.IJobParametersExtractor.
void Summer.Batch.Core.Step.Job.DefaultJobParametersExtractor.SetKeys | ( | string[] | keys | ) |
The key names to pull out of the execution context or job parameters, if they exist. If a key doesn't exist in the execution context then the job parameters from the enclosing job execution are tried, and if there is nothing there either then no parameter is extracted. Key names ending with (long)
, (int)
, (double)
, (date)
or (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.
- Parameters
-
keys
Property Documentation
|
set |
Use all parent parameters flag property.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Step/Job/DefaultJobParametersExtractor.cs