public class HarvestInfo extends Object
Constructor and Description |
---|
HarvestInfo(Long harvestID,
Long jobID,
String domainName,
String domainCfgName,
Date date,
long sizeDataRetrieved,
long countObjectRetrieved,
StopReason stopReason)
Create new harvest info instance.
|
HarvestInfo(Long harvestID,
String domainName,
String domainCfgName,
Date date,
long sizeDataRetrieved,
long countObjectRetrieved,
StopReason stopReason)
Create new harvest info instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Autogenerated from IDEA.
|
long |
getCountObjectRetrieved()
Get the total number of objects downloaded.
|
Date |
getDate()
Get the date this harvest information was recorded.
|
String |
getDomainConfigurationName()
Get the domain configuration name of the harvest.
|
String |
getDomainName()
Get the domain name of the harvest.
|
Long |
getHarvestID()
Get the id of the harvest.
|
Long |
getJobID()
Get the id of the job, if available.
|
long |
getSizeDataRetrieved()
Get the total amount of data downloaded (bytes).
|
StopReason |
getStopReason()
Get the reason the harvest stopped.
|
int |
hashCode()
Autogenerated from IDEA.
|
String |
toString()
A human readable representation.
|
public HarvestInfo(Long harvestID, String domainName, String domainCfgName, Date date, long sizeDataRetrieved, long countObjectRetrieved, StopReason stopReason)
harvestID
- The id of the harvestdomainName
- The name of the DomaindomainCfgName
- The name of the Domain configurationdate
- The date of the harvestsizeDataRetrieved
- The number of bytes retrieved for this DomaincountObjectRetrieved
- The number of objects retrieved for this DomainstopReason
- The reason why the current harvest terminatedpublic HarvestInfo(Long harvestID, Long jobID, String domainName, String domainCfgName, Date date, long sizeDataRetrieved, long countObjectRetrieved, StopReason stopReason)
harvestID
- The id of the harvestjobID
- The id of the job, if availabledomainName
- The name of the DomaindomainCfgName
- The name of the Domain configurationdate
- The date of the harvestsizeDataRetrieved
- The number of bytes retrieved for this DomaincountObjectRetrieved
- The number of objects retrieved for this DomainstopReason
- The reason why the current harvest terminatedpublic long getSizeDataRetrieved()
public long getCountObjectRetrieved()
public StopReason getStopReason()
public Date getDate()
public Long getHarvestID()
public String getDomainName()
public String getDomainConfigurationName()
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.