|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobGenerator
This interface defines the core methods that should be provided by a job generator. It is designed to allow alternate implementations of job generation, depending on curators and/or production engineers specific needs.
Method Summary | |
---|---|
boolean |
canAccept(Job job,
DomainConfiguration cfg)
Tests if a configuration fits into this Job. |
int |
generateJobs(HarvestDefinition harvest)
Generates a series of jobs for the given harvest definition. |
Method Detail |
---|
int generateJobs(HarvestDefinition harvest)
harvest
- the harvest definition to process.
boolean canAccept(Job job, DomainConfiguration cfg)
job
- the job being built.cfg
- the configuration to check
ArgumentNotValid
- if cfg is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |