public class SchedulerClusteredJob extends ConfluenceEntityObject
Constructor and Description |
---|
SchedulerClusteredJob() |
Modifier and Type | Method and Description |
---|---|
static com.atlassian.scheduler.config.Schedule.Type |
charToScheduleType(char schedType) |
static SchedulerClusteredJob |
fromClusterJob(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob) |
String |
getCronExpression() |
String |
getCronTimeZone() |
Date |
getIntervalFirstRunTime() |
long |
getIntervalMillis() |
String |
getJobId() |
String |
getJobRunnerKey() |
Date |
getNextRunTime() |
InputStream |
getRawParameters() |
char |
getSchedType() |
long |
getVersion() |
static char |
scheduleTypeToChar(com.atlassian.scheduler.config.Schedule.Type scheduleType) |
void |
setCronExpression(String cronExpression) |
void |
setCronTimeZone(String cronTimeZone) |
void |
setIntervalFirstRunTime(Date intervalFirstRunTime) |
void |
setIntervalMillis(long intervalMillis) |
void |
setJobId(String jobId) |
void |
setJobRunnerKey(String jobRunnerKey) |
void |
setNextRunTime(Date nextRunTime) |
void |
setRawParameters(InputStream rawParameters) |
void |
setSchedType(char schedType) |
void |
setVersion(long version) |
com.atlassian.scheduler.caesium.spi.ClusteredJob |
toClusteredJob()
rawParameters can only be read once, so this method should be called only once.
|
static com.atlassian.scheduler.config.Schedule |
toSchedule(char schedType,
String cronExpression,
String cronTimeZone,
Date intervalFirstRunTime,
long intervalMillis) |
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
public com.atlassian.scheduler.caesium.spi.ClusteredJob toClusteredJob() throws IOException
IOException
public static com.atlassian.scheduler.config.Schedule toSchedule(char schedType, String cronExpression, String cronTimeZone, Date intervalFirstRunTime, long intervalMillis)
public static SchedulerClusteredJob fromClusterJob(com.atlassian.scheduler.caesium.spi.ClusteredJob clusteredJob)
public static char scheduleTypeToChar(com.atlassian.scheduler.config.Schedule.Type scheduleType)
public static com.atlassian.scheduler.config.Schedule.Type charToScheduleType(char schedType)
public String getJobId()
public void setJobId(String jobId)
public Date getNextRunTime()
public void setNextRunTime(Date nextRunTime)
public long getVersion()
public void setVersion(long version)
public String getJobRunnerKey()
public void setJobRunnerKey(String jobRunnerKey)
public InputStream getRawParameters()
public void setRawParameters(InputStream rawParameters)
public char getSchedType()
public void setSchedType(char schedType)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public String getCronTimeZone()
public void setCronTimeZone(String cronTimeZone)
public Date getIntervalFirstRunTime()
public void setIntervalFirstRunTime(Date intervalFirstRunTime)
public long getIntervalMillis()
public void setIntervalMillis(long intervalMillis)
Copyright © 2003–2019 Atlassian. All rights reserved.