Package psidev.psi.mi.jami.batch
Class SimpleJobRegistry
- java.lang.Object
-
- psidev.psi.mi.jami.batch.SimpleJobRegistry
-
- All Implemented Interfaces:
org.springframework.batch.core.configuration.JobLocator
,org.springframework.batch.core.configuration.ListableJobLocator
public class SimpleJobRegistry extends Object implements org.springframework.batch.core.configuration.ListableJobLocator
Job registry for MIBatchJobManager- Since:
23/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description SimpleJobRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.batch.core.Job
getJob(String name)
Collection<String>
getJobNames()
getJobNames.
-
-
-
Method Detail
-
getJob
public org.springframework.batch.core.Job getJob(String name) throws org.springframework.batch.core.launch.NoSuchJobException
- Specified by:
getJob
in interfaceorg.springframework.batch.core.configuration.JobLocator
- Throws:
org.springframework.batch.core.launch.NoSuchJobException
-
getJobNames
public Collection<String> getJobNames()
getJobNames.
- Specified by:
getJobNames
in interfaceorg.springframework.batch.core.configuration.ListableJobLocator
- Returns:
- a
Collection
object.
-
-