Interface ListableJobLocator

All Superinterfaces:
JobLocator
All Known Subinterfaces:
JobRegistry
All Known Implementing Classes:
MapJobRegistry

public interface ListableJobLocator extends JobLocator
A listable extension of JobLocator.
Author:
Dave Syer
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the currently registered job names.

    Methods inherited from interface org.springframework.batch.core.configuration.JobLocator

    getJob
  • Method Details

    • getJobNames

      Collection<String> getJobNames()
      Provides the currently registered job names. The return value is unmodifiable and disconnected from the underlying registry storage.
      Returns:
      a collection of String. Empty if none are registered.