|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.datamodel.DomainHistory
public class DomainHistory
Container for the historical information available for a domain.
Constructor Summary | |
---|---|
DomainHistory()
Create new DomainHistory instance. |
Method Summary | |
---|---|
void |
addHarvestInfo(HarvestInfo hi)
Add new harvestinformation to the domainHistory. |
static HarvestInfo |
getBestHarvestInfoExpectation(java.lang.String configName,
DomainHistory history)
Return the most recent harvestresult for the configuration identified by name that was a complete harvest of the domain. |
java.util.Iterator<HarvestInfo> |
getHarvestInfo()
Get all harvest information domain history. |
HarvestInfo |
getMostRecentHarvestInfo(java.lang.String cfgName)
Gets the most recent harvestinfo for a specific DomainConfiguration. |
HarvestInfo |
getSpecifiedHarvestInfo(java.lang.Long oid,
java.lang.String cfgName)
Gets the newest harvestinfo for a specific HarvestDefinition and DomainConfiguration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainHistory()
Method Detail |
---|
public java.util.Iterator<HarvestInfo> getHarvestInfo()
public HarvestInfo getMostRecentHarvestInfo(java.lang.String cfgName)
cfgName
- name of the configuration
public HarvestInfo getSpecifiedHarvestInfo(java.lang.Long oid, java.lang.String cfgName)
oid
- id of the harvest definitioncfgName
- the name of the domain configuration
public void addHarvestInfo(HarvestInfo hi)
hi
- the harvest information to addpublic static HarvestInfo getBestHarvestInfoExpectation(java.lang.String configName, DomainHistory history)
configName
- The name of the configurationhistory
- The domainHistory for a domain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |