Class JobStatusInfo
- java.lang.Object
-
- dk.netarkivet.harvester.datamodel.JobStatusInfo
-
public class JobStatusInfo extends Object
A simple tuple to deliver information on the status of jobs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getConfigCount()
Date
getCreationDate()
Date
getEndDate()
String
getHarvestDefinition()
long
getHarvestDefinitionID()
String
getHarvestErrors()
int
getHarvestNum()
long
getJobID()
String
getOrderXMLname()
Long
getResubmittedAsJob()
Date
getStartDate()
JobStatus
getStatus()
Date
getSubmittedDate()
String
getUploadErrors()
-
-
-
Method Detail
-
getJobID
public long getJobID()
- Returns:
- the ID of the job.
-
getStatus
public JobStatus getStatus()
- Returns:
- the current status of the Job
-
getHarvestDefinitionID
public long getHarvestDefinitionID()
- Returns:
- The Id of the harvestdefinition behind the job
-
getHarvestDefinition
public String getHarvestDefinition()
- Returns:
- The name of the harvestdefinition behind the job.
-
getHarvestNum
public int getHarvestNum()
- Returns:
- the harvest number
-
getHarvestErrors
public String getHarvestErrors()
- Returns:
- Any errors encountered during the actual harvest
-
getUploadErrors
public String getUploadErrors()
- Returns:
- Any errors encountered during the upload of the result files.
-
getOrderXMLname
public String getOrderXMLname()
- Returns:
- The name of the Heritrix Template used by the job.
-
getConfigCount
public int getConfigCount()
- Returns:
- The number of domain-configurations used for the job.
-
getSubmittedDate
public Date getSubmittedDate()
- Returns:
- The time when the job was submitted
-
getCreationDate
public Date getCreationDate()
- Returns:
- The time when the job was created
-
getStartDate
public Date getStartDate()
- Returns:
- The time when the job started
-
getEndDate
public Date getEndDate()
- Returns:
- The time when the job finished
-
getResubmittedAsJob
public Long getResubmittedAsJob()
- Returns:
- the ID of the job this job was resubmitted as. If null this job has not been resubmitted.
-
-