|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JobStatus | |
---|---|
dk.netarkivet.harvester.datamodel | |
dk.netarkivet.harvester.harvesting.distribute |
Uses of JobStatus in dk.netarkivet.harvester.datamodel |
---|
Methods in dk.netarkivet.harvester.datamodel that return JobStatus | |
---|---|
static JobStatus |
JobStatus.fromOrdinal(int status)
Helper method that gives a proper object from e.g. |
JobStatus |
JobStatusInfo.getStatus()
|
JobStatus |
Job.getStatus()
Get the current status of this Job. |
static JobStatus |
JobStatus.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobStatus[] |
JobStatus.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in dk.netarkivet.harvester.datamodel with parameters of type JobStatus | |
---|---|
java.util.Iterator<Job> |
JobDBDAO.getAll(JobStatus status)
Return a list of all jobs with the given status, ordered by id. |
abstract java.util.Iterator<Job> |
JobDAO.getAll(JobStatus status)
Return a list of all jobs with the given status. |
java.util.Iterator<java.lang.Long> |
JobDBDAO.getAllJobIds(JobStatus status)
Return a list of all job_id's representing jobs with the given status. |
abstract java.util.Iterator<java.lang.Long> |
JobDAO.getAllJobIds(JobStatus status)
Return a list of all job_id's representing jobs with the given status. |
int |
HarvestRunInfo.getJobCount(JobStatus status)
Get the number of jobs for this run that are in a specific status. |
boolean |
JobStatus.legalChange(JobStatus newStatus)
True if it is legal to change from this status to a new status. |
void |
Job.setStatus(JobStatus newStatus)
|
void |
HarvestRunInfo.setStatusCount(JobStatus status,
int count)
|
Constructors in dk.netarkivet.harvester.datamodel with parameters of type JobStatus | |
---|---|
Job(java.lang.Long harvestID,
java.util.Map<java.lang.String,java.lang.String> configurations,
JobPriority priority,
long forceMaxObjectsPerDomain,
long forceMaxBytesPerDomain,
JobStatus status,
java.lang.String orderXMLname,
org.dom4j.Document orderXMLdoc,
java.lang.String seedlist,
int harvestNum)
Create a new Job object from basic information storable in the DAO. |
|
JobStatusInfo(long jobID,
JobStatus status,
long harvestDefinitionID,
java.lang.String harvestDefinition,
int harvestNum,
java.lang.String harvestErrors,
java.lang.String uploadErrors,
java.lang.String orderXMLname,
int domainCount,
java.util.Date startDate,
java.util.Date endDate)
|
Uses of JobStatus in dk.netarkivet.harvester.harvesting.distribute |
---|
Methods in dk.netarkivet.harvester.harvesting.distribute that return JobStatus | |
---|---|
JobStatus |
CrawlStatusMessage.getStatusCode()
Returns the status code of this crawl job. |
Constructors in dk.netarkivet.harvester.harvesting.distribute with parameters of type JobStatus | |
---|---|
CrawlStatusMessage(long jobID,
JobStatus statusCode)
Alternate constructor, which does not have the DomainHarvestreport as argument. |
|
CrawlStatusMessage(long jobID,
JobStatus statusCode,
DomainHarvestReport domainHarvestReport)
Creates an instance of this class corresponding to a job. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |