org.springframework.batch.core

## 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`.
  Since:
    2.2
  Author:
    Michael Minella, Mahmoud Ben Hassine

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `generateKey(T source)` Method to generate the unique key used to identify a job instance.

- - ### Method Detail

    - #### generateKey

          java.lang.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