Interface JobKeyGenerator<T>

Type Parameters:
T - The type of the source data used to calculate the key.
All Known Implementing Classes:
DefaultJobKeyGenerator

public interface JobKeyGenerator<T>
Strategy interface for the generation of the key used in identifying unique JobInstance objects.
Since:
2.2
Author:
Michael Minella, Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    generateKey(T source)
    Method to generate the unique key used to identify a job instance.
  • Method Details

    • generateKey

      String generateKey(T source)
      Method to generate the unique key used to identify a job instance.
      Parameters:
      source - Source information used to generate the key (must not be null).
      Returns:
      a unique string identifying the job based on the information supplied.