Class DomainHarvestInfo
- java.lang.Object
-
- dk.netarkivet.harvester.datamodel.DomainHarvestInfo
-
public class DomainHarvestInfo extends 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.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.String
getDomain()
Get the domain Name.Date
getEndDate()
Get the date when the harvestjob finished.long
getHarvestID()
Get the ID of the harvestdefinition behind the job.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.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.String
toString()
-
-
-
Method Detail
-
getDomain
public 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 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 String getConfigName()
Get the name of the configuration.- Returns:
- The name of the configuration
-
getStartDate
public Date getStartDate()
Get the date when the harvestjob started.- Returns:
- Get the date when the harvestjob started.
-
getEndDate
public 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.
-
-