Uses of Class
dk.netarkivet.harvester.datamodel.HarvestDefinition
-
Packages that use HarvestDefinition Package Description dk.netarkivet.harvester.datamodel dk.netarkivet.harvester.scheduler.jobgen -
-
Uses of HarvestDefinition in dk.netarkivet.harvester.datamodel
Subclasses of HarvestDefinition in dk.netarkivet.harvester.datamodel Modifier and Type Class Description class
FullHarvest
This class contains the specific properties and operations of snapshot harvest definitions.class
PartialHarvest
This class contains the specific properties and operations of harvest definitions which are not snapshot harvest definitions.Methods in dk.netarkivet.harvester.datamodel that return HarvestDefinition Modifier and Type Method Description abstract HarvestDefinition
HarvestDefinitionDAO. getHarvestDefinition(java.lang.String name)
Get the harvest definition that has the given name, or null, if no harvestdefinition exist with this name.HarvestDefinition
HarvestDefinitionDBDAO. getHarvestDefinition(java.lang.String name)
Get the harvest definition that has the given name, if any.HarvestDefinition
FullHarvest. getPreviousHarvestDefinition()
Get the previous HarvestDefinition which is used to base this.abstract HarvestDefinition
HarvestDefinitionDAO. read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID.HarvestDefinition
HarvestDefinitionDBDAO. read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID.Methods in dk.netarkivet.harvester.datamodel that return types with arguments of type HarvestDefinition Modifier and Type Method Description abstract java.util.Iterator<HarvestDefinition>
HarvestDefinitionDAO. getAllHarvestDefinitions()
Get a list of all existing harvest definitions.java.util.Iterator<HarvestDefinition>
HarvestDefinitionDBDAO. getAllHarvestDefinitions()
Get a list of all existing harvest definitions ordered by name.java.util.Iterator<HarvestDefinition>
HarvestDefinitionDAO. iterator()
Get an iterator of all harvest definitions.Methods in dk.netarkivet.harvester.datamodel with parameters of type HarvestDefinition Modifier and Type Method Description abstract java.lang.Long
HarvestDefinitionDAO. create(HarvestDefinition harvestDefinition)
Create a harvest definition in persistent storage.java.lang.Long
HarvestDefinitionDBDAO. create(HarvestDefinition harvestDefinition)
Create a harvest definition in Database.abstract java.util.Iterator<HarvestInfo>
DomainDAO. getHarvestInfoBasedOnPreviousHarvestDefinition(HarvestDefinition previousHarvestDefinition)
Find all info about results of a harvest definition.java.util.Iterator<HarvestInfo>
DomainDBDAO. getHarvestInfoBasedOnPreviousHarvestDefinition(HarvestDefinition previousHarvestDefinition)
abstract HarvestInfo
DomainDAO. getHarvestInfoForDomainInHarvest(HarvestDefinition harvestDefinition, Domain domain)
Retrieve HarvestInfo for a given harvestdefinition and domain combination.HarvestInfo
DomainDBDAO. getHarvestInfoForDomainInHarvest(HarvestDefinition harvestDefinition, Domain domain)
Retrieve HarvestInfo for a given harvestdefinition and domain combination.abstract void
HarvestDefinitionDAO. update(HarvestDefinition harvestDefinition)
Update an existing harvest definition with new info in persistent storage.void
HarvestDefinitionDBDAO. update(HarvestDefinition hd)
Update an existing harvest definition with new info. -
Uses of HarvestDefinition in dk.netarkivet.harvester.scheduler.jobgen
Methods in dk.netarkivet.harvester.scheduler.jobgen with parameters of type HarvestDefinition Modifier and Type Method Description int
FixedDomainConfigurationCountJobGenerator. generateJobs(HarvestDefinition harvest)
int
JobGenerator. generateJobs(HarvestDefinition harvest)
Generates a series of jobs for the given harvest definition.protected java.util.Comparator<DomainConfiguration>
DefaultJobGenerator. getDomainConfigurationSubsetComparator(HarvestDefinition harvest)
protected java.util.Comparator<DomainConfiguration>
FixedDomainConfigurationCountJobGenerator. getDomainConfigurationSubsetComparator(HarvestDefinition harvest)
protected int
DefaultJobGenerator. processDomainConfigurationSubset(HarvestDefinition harvest, java.util.Iterator<DomainConfiguration> domainConfSubset)
Create new jobs from a collection of configurations.protected int
FixedDomainConfigurationCountJobGenerator. processDomainConfigurationSubset(HarvestDefinition harvest, java.util.Iterator<DomainConfiguration> domainConfSubset)
-