Uses of Class
dk.netarkivet.harvester.datamodel.JobStatus
-
Packages that use JobStatus Package Description dk.netarkivet.harvester.datamodel dk.netarkivet.harvester.harvesting.distribute dk.netarkivet.harvester.webinterface -
-
Uses of JobStatus in dk.netarkivet.harvester.datamodel
Fields in dk.netarkivet.harvester.datamodel declared as JobStatus Modifier and Type Field Description protected JobStatus
Job. status
The status of the job.Methods in dk.netarkivet.harvester.datamodel that return JobStatus Modifier and Type Method Description static JobStatus
JobStatus. fromOrdinal(int status)
Helper method that gives a proper object from e.g.abstract JobStatus
JobDAO. getJobStatus(java.lang.Long jobID)
Get Jobstatus for the job with the given id.JobStatus
JobDBDAO. getJobStatus(java.lang.Long jobID)
Get Jobstatus for the job with the given id.JobStatus
Job. getStatus()
Get the current status of this Job.JobStatus
JobStatusInfo. getStatus()
static JobStatus
JobStatus. parse(java.lang.String status)
Helper method that gives a proper object from e.g.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 are declared.Methods in dk.netarkivet.harvester.datamodel with parameters of type JobStatus Modifier and Type Method Description abstract java.util.Iterator<Job>
JobDAO. getAll(JobStatus status)
Return a list of all jobs with the given status.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<java.lang.Long>
JobDAO. 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, HarvestChannel channel)
Return a list of all job_id's representing jobs with the given status and channel.java.util.Iterator<java.lang.Long>
JobDBDAO. getAllJobIds(JobStatus status)
Return a list of all job_id's representing jobs with the given status.java.util.Iterator<java.lang.Long>
JobDBDAO. getAllJobIds(JobStatus status, HarvestChannel channel)
int
HarvestRunInfo. getJobCount(JobStatus status)
Get the number of jobs for this run that are in a specific status.abstract java.util.List<JobStatusInfo>
JobDAO. getStatusInfo(JobStatus status)
Return status information for all jobs with given job status.java.util.List<JobStatusInfo>
JobDBDAO. getStatusInfo(JobStatus status)
Get a list of small and immediately usable status information for given job 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)
Sets status of this job.void
HarvestRunInfo. setStatusCount(JobStatus status, int count)
Update the count for a specific jobstatus. -
Uses of JobStatus in dk.netarkivet.harvester.harvesting.distribute
Methods in dk.netarkivet.harvester.harvesting.distribute that return JobStatus Modifier and Type Method Description JobStatus
JobEndedMessage. getJobStatus()
JobStatus
CrawlStatusMessage. getStatusCode()
Returns the status code of this crawl job.Constructors in dk.netarkivet.harvester.harvesting.distribute with parameters of type JobStatus Constructor Description CrawlStatusMessage(long jobID, JobStatus statusCode)
Alternate constructor, which does not have the DomainHarvestreport as argument.CrawlStatusMessage(long jobID, JobStatus statusCode, HarvestReport harvestReport)
Creates an instance of this class corresponding to a job.JobEndedMessage(long jobId, JobStatus jobStatus)
Constructs a new message. -
Uses of JobStatus in dk.netarkivet.harvester.webinterface
Methods in dk.netarkivet.harvester.webinterface that return JobStatus Modifier and Type Method Description JobStatus[]
HarvestStatusQuery. getSelectedJobStatuses()
Methods in dk.netarkivet.harvester.webinterface that return types with arguments of type JobStatus Modifier and Type Method Description java.util.Set<JobStatus>
HarvestStatusQuery. getSelectedJobStatusesAsSet()
Method parameters in dk.netarkivet.harvester.webinterface with type arguments of type JobStatus Modifier and Type Method Description void
HarvestStatusQuery. setJobStatus(java.util.Set<JobStatus> chosenStates)
Set the selected states in the query.
-