Package | Description |
---|---|
dk.netarkivet.harvester.datamodel | |
dk.netarkivet.harvester.harvesting.distribute | |
dk.netarkivet.harvester.webinterface |
Modifier and Type | Field and Description |
---|---|
protected JobStatus |
Job.status
The status of the job.
|
Modifier and Type | Method and Description |
---|---|
static JobStatus |
JobStatus.fromOrdinal(int status)
Helper method that gives a proper object from e.g.
|
JobStatus |
JobDBDAO.getJobStatus(Long jobID)
Get Jobstatus for the job with the given id.
|
abstract JobStatus |
JobDAO.getJobStatus(Long jobID)
Get Jobstatus for the job with the given id.
|
JobStatus |
JobStatusInfo.getStatus() |
JobStatus |
Job.getStatus()
Get the current status of this Job.
|
static JobStatus |
JobStatus.parse(String status)
Helper method that gives a proper object from e.g.
|
static JobStatus |
JobStatus.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Job> |
JobDBDAO.getAll(JobStatus status)
Return a list of all jobs with the given status, ordered by id.
|
abstract Iterator<Job> |
JobDAO.getAll(JobStatus status)
Return a list of all jobs with the given status.
|
Iterator<Long> |
JobDBDAO.getAllJobIds(JobStatus status)
Return a list of all job_id's representing jobs with the given status.
|
abstract Iterator<Long> |
JobDAO.getAllJobIds(JobStatus status)
Return a list of all job_id's representing jobs with the given status.
|
Iterator<Long> |
JobDBDAO.getAllJobIds(JobStatus status,
HarvestChannel channel) |
abstract Iterator<Long> |
JobDAO.getAllJobIds(JobStatus status,
HarvestChannel channel)
Return a list of all job_id's representing jobs with the given status and channel.
|
int |
HarvestRunInfo.getJobCount(JobStatus status)
Get the number of jobs for this run that are in a specific status.
|
List<JobStatusInfo> |
JobDBDAO.getStatusInfo(JobStatus status)
Get a list of small and immediately usable status information for given job status.
|
abstract List<JobStatusInfo> |
JobDAO.getStatusInfo(JobStatus status)
Return status information for all jobs with 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.
|
Modifier and Type | Method and Description |
---|---|
JobStatus |
JobEndedMessage.getJobStatus() |
JobStatus |
CrawlStatusMessage.getStatusCode()
Returns the status code of this crawl job.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
JobStatus[] |
HarvestStatusQuery.getSelectedJobStatuses() |
Modifier and Type | Method and Description |
---|---|
Set<JobStatus> |
HarvestStatusQuery.getSelectedJobStatusesAsSet() |
Modifier and Type | Method and Description |
---|---|
void |
HarvestStatusQuery.setJobStatus(Set<JobStatus> chosenStates)
Set the selected states in the query.
|
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.