public class DefaultJobKeyGenerator extends java.lang.Object implements JobKeyGenerator<JobParameters>
JobKeyGenerator
interface.
This implementation provides a single hash value based on the JobParameters
passed in. Only identifying parameters (per JobParameter.isIdentifying()
)
are used in the calculation of the key.Constructor and Description |
---|
DefaultJobKeyGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateKey(JobParameters source)
Generates the job key to be used based on the
JobParameters instance
provided. |
public java.lang.String generateKey(JobParameters source)
JobParameters
instance
provided.generateKey
in interface JobKeyGenerator<JobParameters>
source
- Source information used to generate the key (must not be null
)