Interface JobRegistry
- All Known Implementing Classes:
MapJobRegistry
public interface JobRegistry
A runtime service registry interface for registering job configurations by
name.- Author:
- Dave Syer, Mahmoud Ben Hassine
-
Method Details
-
getJob
-
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.
-
register
Registers aJobat runtime.- Parameters:
job- theJobto be registered- Throws:
DuplicateJobException- if a job with the same name has already been registered.
-
unregister
-