public interface JobGenerator
Modifier and Type | Method and Description |
---|---|
boolean |
canAccept(Job job,
DomainConfiguration cfg,
DomainConfiguration previousCfg)
Tests if a configuration fits into this Job.
|
int |
generateJobs(HarvestDefinition harvest)
Generates a series of jobs for the given harvest definition.
|
boolean |
ignoreConfiguration(DomainConfiguration cfg)
Test if this configuration should be ignored
|
int generateJobs(HarvestDefinition harvest)
harvest
- the harvest definition to process.boolean canAccept(Job job, DomainConfiguration cfg, DomainConfiguration previousCfg)
job
- the job being built.cfg
- the configuration to checkpreviousCfg
- if not null, the configuration added to this job immediately priorArgumentNotValid
- if cfg is nullboolean ignoreConfiguration(DomainConfiguration cfg)
cfg
- a domain configurationCopyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.