Class SchedulerClusteredJob

java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.confluence.core.ConfluenceEntityObject
com.atlassian.confluence.impl.schedule.caesium.SchedulerClusteredJob
All Implemented Interfaces:
Serializable, Cloneable

public class SchedulerClusteredJob extends ConfluenceEntityObject
Since:
5.10
See Also:
  • Constructor Details

    • SchedulerClusteredJob

      public SchedulerClusteredJob()
  • Method Details

    • toClusteredJob

      public com.atlassian.scheduler.caesium.spi.ClusteredJob toClusteredJob() throws IOException
      rawParameters can only be read once, so this method should be called only once.
      Throws:
      IOException
    • toSchedule

      public static com.atlassian.scheduler.config.Schedule toSchedule(char schedType, String cronExpression, String cronTimeZone, Date intervalFirstRunTime, long intervalMillis)
    • fromClusterJob

      public static SchedulerClusteredJob fromClusterJob(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
    • scheduleTypeToChar

      public static char scheduleTypeToChar(com.atlassian.scheduler.config.Schedule.Type scheduleType)
    • charToScheduleType

      public static com.atlassian.scheduler.config.Schedule.Type charToScheduleType(char schedType)
    • getJobId

      public String getJobId()
    • setJobId

      public void setJobId(String jobId)
    • getNextRunTime

      public Date getNextRunTime()
    • setNextRunTime

      public void setNextRunTime(Date nextRunTime)
    • getVersion

      public long getVersion()
    • setVersion

      public void setVersion(long version)
    • getJobRunnerKey

      public String getJobRunnerKey()
    • setJobRunnerKey

      public void setJobRunnerKey(String jobRunnerKey)
    • getRawParameters

      public InputStream getRawParameters()
    • setRawParameters

      public void setRawParameters(InputStream rawParameters)
    • getSchedType

      public char getSchedType()
    • setSchedType

      public void setSchedType(char schedType)
    • getCronExpression

      public String getCronExpression()
    • setCronExpression

      public void setCronExpression(String cronExpression)
    • getCronTimeZone

      public String getCronTimeZone()
    • setCronTimeZone

      public void setCronTimeZone(String cronTimeZone)
    • getIntervalFirstRunTime

      public Date getIntervalFirstRunTime()
    • setIntervalFirstRunTime

      public void setIntervalFirstRunTime(Date intervalFirstRunTime)
    • getIntervalMillis

      public long getIntervalMillis()
    • setIntervalMillis

      public void setIntervalMillis(long intervalMillis)