public class DomainHistory extends Object
Constructor and Description |
---|
DomainHistory()
Create new DomainHistory instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addHarvestInfo(HarvestInfo hi)
Add new harvestinformation to the domainHistory.
|
static HarvestInfo |
getBestHarvestInfoExpectation(String configName,
DomainHistory history)
Return the most recent harvestresult for the configuration identified by name that was a complete harvest of the
domain.
|
Iterator<HarvestInfo> |
getHarvestInfo()
Get all harvest information domain history.
|
HarvestInfo |
getMostRecentHarvestInfo(String cfgName)
Gets the most recent harvestinfo for a specific DomainConfiguration.
|
HarvestInfo |
getSpecifiedHarvestInfo(Long oid,
String cfgName)
Gets the newest harvestinfo for a specific HarvestDefinition and DomainConfiguration.
|
public DomainHistory()
public Iterator<HarvestInfo> getHarvestInfo()
public HarvestInfo getMostRecentHarvestInfo(String cfgName)
cfgName
- name of the configurationpublic HarvestInfo getSpecifiedHarvestInfo(Long oid, String cfgName)
oid
- id of the harvest definitioncfgName
- the name of the domain configurationpublic void addHarvestInfo(HarvestInfo hi)
hi
- the harvest information to addpublic static HarvestInfo getBestHarvestInfoExpectation(String configName, DomainHistory history)
configName
- The name of the configurationhistory
- The domainHistory for a domainCopyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.