|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.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. |
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 add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |