Class DomainHarvestInfo
- java.lang.Object
-
- dk.netarkivet.harvester.datamodel.DomainHarvestInfo
-
public class DomainHarvestInfo extends java.lang.Object
DomainConfigPair class for extracted information on harvests on a specific domain.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBytesDownloaded()
Get the number of bytes that were downloaded by this job for this domain.java.lang.String
getConfigName()
Get the name of the configuration.long
getDocsDownloaded()
Get the number of documents (URIs) that were downloaded by this job for this domain.java.lang.String
getDomain()
Get the domain Name.java.util.Date
getEndDate()
Get the date when the harvestjob finished.long
getHarvestID()
Get the ID of the harvestdefinition behind the job.java.lang.String
getHarvestName()
Get the name of the harvestdefinition behind the job.int
getHarvestNum()
Get the number of the harvest.long
getJobID()
Get the Id of the job that harvested this domain.java.util.Date
getStartDate()
Get the date when the harvestjob started.StopReason
getStopReason()
Get the reason why the harvestjob stopped harvesting any more URIs from this domain.java.lang.String
toString()
-
-
-
Method Detail
-
getDomain
public java.lang.String getDomain()
Get the domain Name.- Returns:
- the domain Name.
-
getJobID
public long getJobID()
Get the Id of the job that harvested this domain.- Returns:
- the Id of the job that harvested this domain
-
getHarvestName
public java.lang.String getHarvestName()
Get the name of the harvestdefinition behind the job.- Returns:
- The name of the harvestdefinition behind the job
-
getHarvestID
public long getHarvestID()
Get the ID of the harvestdefinition behind the job.- Returns:
- The ID of the harvestdefinition behind the job
-
getHarvestNum
public int getHarvestNum()
Get the number of the harvest.- Returns:
- The number of the harvest
-
getConfigName
public java.lang.String getConfigName()
Get the name of the configuration.- Returns:
- The name of the configuration
-
getStartDate
public java.util.Date getStartDate()
Get the date when the harvestjob started.- Returns:
- Get the date when the harvestjob started.
-
getEndDate
public java.util.Date getEndDate()
Get the date when the harvestjob finished.- Returns:
- Get the date when the harvestjob finished.
-
getBytesDownloaded
public long getBytesDownloaded()
Get the number of bytes that were downloaded by this job for this domain.- Returns:
- The number of bytes that were downloaded by this job for this domain.
-
getDocsDownloaded
public long getDocsDownloaded()
Get the number of documents (URIs) that were downloaded by this job for this domain.- Returns:
- The number of documents (URIs) that were downloaded by this job for this domain.
-
getStopReason
public StopReason getStopReason()
Get the reason why the harvestjob stopped harvesting any more URIs from this domain.- Returns:
- The reason why the harvestjob stopped harvesting any more URIs from this domain.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-