public class HarvestRunInfo extends Object
Modifier and Type | Method and Description |
---|---|
long |
getBytesHarvested() |
long |
getDocsHarvested() |
Date |
getEndDate() |
long |
getHarvestID() |
String |
getHarvestName() |
int |
getJobCount()
Get the total number of jobs created for this run.
|
int |
getJobCount(JobStatus status)
Get the number of jobs for this run that are in a specific status.
|
int |
getRunNr() |
Date |
getStartDate() |
void |
setBytesHarvested(long bytesHarvested)
Set the number of bytes harvested by this job.
|
void |
setDocsHarvested(long docsHarvested)
Set the number of documents harvested by this job.
|
void |
setEndDate(Date endDate)
Set the end Date for this harvest job.
|
void |
setStartDate(Date startDate)
Set the start Date for this harvest job.
|
void |
setStatusCount(JobStatus status,
int count)
Update the count for a specific jobstatus.
|
public long getHarvestID()
public String getHarvestName()
public int getRunNr()
public Date getStartDate()
public Date getEndDate()
public long getBytesHarvested()
public long getDocsHarvested()
public int getJobCount()
public int getJobCount(JobStatus status)
status
- the specific statuspublic void setStartDate(Date startDate)
startDate
- the start datepublic void setEndDate(Date endDate)
endDate
- The end datepublic void setBytesHarvested(long bytesHarvested)
bytesHarvested
- number of bytes harvestedpublic void setDocsHarvested(long docsHarvested)
docsHarvested
- number of documents harvestedpublic void setStatusCount(JobStatus status, int count)
status
- a certain JobStatuscount
- the new count for this JobStatus.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.