public class

ScheduledJobStatus

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.confluence.schedule.ScheduledJobStatus

Class Overview

This class contains the transient runtime state of a single job.

This class is thread-safe (and needs to be).

Summary

Public Constructors
ScheduledJobStatus(ScheduledJobKey scheduledJobKey, List<ScheduledJobHistory> existingHistory)
Public Methods
void addHistory(ScheduledJobHistory newHistory)
long getAverageRunningTime()
String getGroup()
List<ScheduledJobHistory> getHistory()
String getJobId()
ScheduledJobKey getKey()
Date getLastExecution()
Date getNextExecution()
ExecutionStatus getStatus()
boolean isDisabled()
boolean isEnabled()
boolean isManuallyRunnable()
void setNextExecution(Date nextExecution)
void setStatus(ExecutionStatus status)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ScheduledJobStatus (ScheduledJobKey scheduledJobKey, List<ScheduledJobHistory> existingHistory)

Public Methods

public void addHistory (ScheduledJobHistory newHistory)

public long getAverageRunningTime ()

public String getGroup ()

public List<ScheduledJobHistory> getHistory ()

public String getJobId ()

public ScheduledJobKey getKey ()

public Date getLastExecution ()

public Date getNextExecution ()

public ExecutionStatus getStatus ()

public boolean isDisabled ()

public boolean isEnabled ()

public boolean isManuallyRunnable ()

public void setNextExecution (Date nextExecution)

public void setStatus (ExecutionStatus status)