org.springframework.batch.core.configuration
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
 Collection<String> getJobNames()
          Provides the currently registered job names.
 
Methods inherited from interface org.springframework.batch.core.configuration.JobLocator
getJob
 

Method Detail

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.


Copyright © 2013 SpringSource. All Rights Reserved.