public interface JobGenerator
Modifier and Type | Method and Description |
---|---|
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.
|
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 checkArgumentNotValid
- if cfg is nullCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.