Class ScheduledJobStatus

  • All Implemented Interfaces:

    public class ScheduledJobStatus
    extends Object
    implements Serializable
    This class contains the transient runtime state of a single job.

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

    See Also:
    Serialized Form
    • Constructor Detail

      • ScheduledJobStatus

        public ScheduledJobStatus​(com.atlassian.scheduler.config.JobId jobId,
                                  List<ScheduledJobHistory> existingHistory)
    • Method Detail

      • getJobId

        public com.atlassian.scheduler.config.JobId getJobId()
      • getLastExecution

        public Date getLastExecution()
      • getNextExecution

        public Date getNextExecution()
      • setNextExecution

        public void setNextExecution​(Date nextExecution)
      • getAverageRunningTime

        public long getAverageRunningTime()
      • isEnabled

        public boolean isEnabled()
      • isDisabled

        public boolean isDisabled()
      • isManuallyRunnable

        public boolean isManuallyRunnable()