Uses of Class
dk.netarkivet.harvester.datamodel.JobStatus

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 are declared.
 

Methods in dk.netarkivet.harvester.datamodel with parameters of type JobStatus
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.
 java.util.Iterator<java.lang.Long> JobDBDAO.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.
abstract  java.util.List<JobStatusInfo> JobDAO.getStatusInfo(boolean asc, JobStatus... states)
          Return status information for all jobs with given job status.
 java.util.List<JobStatusInfo> JobDBDAO.getStatusInfo(boolean asc, JobStatus... states)
          Get a list of small and immediately usable status information for given job status and in given job id order.
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)
           
 

Method parameters in dk.netarkivet.harvester.datamodel with type arguments of type JobStatus
abstract  java.util.List<JobStatusInfo> JobDAO.getStatusInfo(long harvestId, long harvestNum, boolean asc, java.util.Set<JobStatus> selectedJobStatusSet)
          Get the list of all jobs ordered by JobID (represented by JobStatusInfo objects) belonging to a specific harvestdefinition, and a specific harvestnumber, which have one of the JobStatus in the selectedJobStatusSet.
 java.util.List<JobStatusInfo> JobDBDAO.getStatusInfo(long harvestId, long harvestNum, boolean asc, java.util.Set<JobStatus> selectedStatusSet)
          Get statusInfo.
 

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 submittedDate, java.util.Date startDate, java.util.Date endDate, java.lang.Long resubmittedAsJobWithID)
          Constructor for the JobStatusInfo class.
 

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.