Package | Description |
---|---|
dk.netarkivet.harvester.datamodel | |
dk.netarkivet.harvester.scheduler.jobgen | |
dk.netarkivet.harvester.webinterface |
Modifier and Type | Method and Description |
---|---|
DomainConfiguration |
Domain.getConfiguration(String cfgName)
Returns an already registered configuration.
|
DomainConfiguration |
Domain.getDefaultConfiguration()
Gets the default configuration.
|
abstract DomainConfiguration |
DomainDAO.getDomainConfiguration(String domainName,
String configName)
Get the DomainConfiguration given a specific domainName and a configurationName.
|
DomainConfiguration |
DomainDBDAO.getDomainConfiguration(String domainName,
String configName) |
Modifier and Type | Method and Description |
---|---|
Iterator<DomainConfiguration> |
Domain.getAllConfigurations()
Gets all configurations belonging to this domain.
|
List<DomainConfiguration> |
Domain.getAllConfigurationsAsSortedList(Locale loc)
Gets all configurations belonging to this domain.
|
abstract Iterator<DomainConfiguration> |
HarvestDefinition.getDomainConfigurations()
Returns a iterator of domain configurations for this harvest definition.
|
Iterator<DomainConfiguration> |
PartialHarvest.getDomainConfigurations()
Returns a List of domain configurations for this harvest definition.
|
Iterator<DomainConfiguration> |
FullHarvest.getDomainConfigurations()
Returns an iterator of domain configurations for this harvest definition.
|
Collection<DomainConfiguration> |
PartialHarvest.getDomainConfigurationsAsList() |
Iterator<DomainConfiguration> |
HarvestDefinitionDBDAO.getSnapShotConfigurations()
Gets default configurations for all domains that are not aliases.
|
abstract Iterator<DomainConfiguration> |
HarvestDefinitionDAO.getSnapShotConfigurations()
Gets default configurations for all domains.
|
Modifier and Type | Method and Description |
---|---|
void |
Domain.addConfiguration(DomainConfiguration cfg)
Adds a new configuration to the domain.
|
void |
Job.addConfiguration(DomainConfiguration cfg)
Adds a configuration to this Job.
|
void |
PartialHarvest.addDomainConfiguration(DomainConfiguration newConfiguration)
Add a new domainconfiguration to this PartialHarvest.
|
static String |
DomainConfiguration.cfgToString(DomainConfiguration cfg) |
void |
HeritrixTemplate.editOrderXMLAddPerDomainCrawlerTraps(DomainConfiguration cfg)
Updates the order.xml to include a MatchesListRegExpDecideRule for each crawler-trap associated with for the given
DomainConfiguration.
|
abstract boolean |
DomainDAO.mayDelete(DomainConfiguration config)
Return whether the given configuration can be deleted.
|
boolean |
DomainDBDAO.mayDelete(DomainConfiguration config) |
abstract void |
DomainDAO.renameAndUpdateConfig(Domain domain,
DomainConfiguration domainConf,
String configOldName)
Rename and update a DomainConfiguration for a specific domain.
|
void |
DomainDBDAO.renameAndUpdateConfig(Domain domain,
DomainConfiguration domainConf,
String configOldName) |
void |
Domain.updateConfiguration(DomainConfiguration cfg)
Replaces existing configuration with cfg, using cfg.getName() as the id for the configuration.
|
Modifier and Type | Method and Description |
---|---|
static PartialHarvest |
HarvestDefinition.createPartialHarvest(List<DomainConfiguration> domainConfigurations,
Schedule schedule,
String harvestDefName,
String comments,
String audience)
Create new instance of a PartialHavest configured according to the properties of the supplied
DomainConfiguration.
|
void |
HarvestDefinitionDBDAO.resetDomainConfigurations(PartialHarvest ph,
List<DomainConfiguration> dcList) |
abstract void |
HarvestDefinitionDAO.resetDomainConfigurations(PartialHarvest hdd,
List<DomainConfiguration> dcList)
Reset the list of domainconfiguration for a PartialHarvest.
|
void |
PartialHarvest.setDomainConfigurations(List<DomainConfiguration> configs)
Set the list of configurations that this PartialHarvest uses.
|
Constructor and Description |
---|
Job(Long harvestID,
DomainConfiguration cfg,
HeritrixTemplate orderXMLdoc,
HarvestChannel channel,
long forceMaxObjectsPerDomain,
long forceMaxBytesPerDomain,
long forceMaxJobRunningTime,
int harvestNum)
Package private constructor for common initialisation.
|
SparseDomainConfiguration(DomainConfiguration dc)
Alternate constructor taking a DomainConfiguration as input.
|
Constructor and Description |
---|
PartialHarvest(List<DomainConfiguration> domainConfigurations,
Schedule schedule,
String harvestDefName,
String comments,
String audience)
Create new instance of a PartialHavest configured according to the properties of the supplied
DomainConfiguration.
|
Modifier and Type | Method and Description |
---|---|
protected Comparator<DomainConfiguration> |
FixedDomainConfigurationCountJobGenerator.getDomainConfigurationSubsetComparator(HarvestDefinition harvest) |
protected Comparator<DomainConfiguration> |
DefaultJobGenerator.getDomainConfigurationSubsetComparator(HarvestDefinition harvest) |
Modifier and Type | Method and Description |
---|---|
boolean |
JobGenerator.canAccept(Job job,
DomainConfiguration cfg,
DomainConfiguration previousCfg)
Tests if a configuration fits into this Job.
|
protected boolean |
FixedDomainConfigurationCountJobGenerator.checkSpecificAcceptConditions(Job job,
DomainConfiguration cfg) |
protected boolean |
DefaultJobGenerator.checkSpecificAcceptConditions(Job job,
DomainConfiguration cfg) |
int |
DefaultJobGenerator.CompareConfigsDesc.compare(DomainConfiguration cfg1,
DomainConfiguration cfg2) |
Modifier and Type | Method and Description |
---|---|
protected int |
FixedDomainConfigurationCountJobGenerator.processDomainConfigurationSubset(HarvestDefinition harvest,
Iterator<DomainConfiguration> domainConfSubset) |
protected int |
DefaultJobGenerator.processDomainConfigurationSubset(HarvestDefinition harvest,
Iterator<DomainConfiguration> domainConfSubset)
Create new jobs from a collection of configurations.
|
Modifier and Type | Method and Description |
---|---|
static List<DomainConfiguration> |
DomainDefinition.getUsedConfiguration(Domain domain,
Locale locale)
Returns the list of domain configurations which are either used in a concrete harvest or is a 'default
configuration'.
|
Modifier and Type | Method and Description |
---|---|
static List<SeedList> |
DomainDefinition.getSeedLists(List<DomainConfiguration> configurations)
Returns the seed lists associated with the supplied configurations.
|
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.