Interface ManagedScheduledJob
-
- All Superinterfaces:
ScheduledJob
- All Known Implementing Classes:
AbstractManagedScheduledJob,ManagedScheduledCronJob,ManagedScheduledSimpleJob
public interface ManagedScheduledJob extends ScheduledJob
Encapsulates the static configuration of a managed scheduled job. Implementations should be immutable.- Since:
- 5.10
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleancanDisable()booleancanRunAdhoc()default booleandisabledByDefault()com.atlassian.scheduler.config.JobIdgetJobId()longgetLockWaitTime()Optional<TimeoutPolicy>getTimeoutPolicy()static booleanisCronJob(ManagedScheduledJob job)Utility to determine if a managed job is a cron job or not.booleanisEditable()booleanisKeepingHistory()booleanisLocalJob()-
Methods inherited from interface com.atlassian.confluence.schedule.ScheduledJob
getJobConfig, getJobRunner, isClusteredOnly
-
-
-
-
Method Detail
-
getJobId
com.atlassian.scheduler.config.JobId getJobId()
-
isEditable
boolean isEditable()
-
isKeepingHistory
boolean isKeepingHistory()
-
canRunAdhoc
boolean canRunAdhoc()
-
canDisable
boolean canDisable()
-
getLockWaitTime
long getLockWaitTime()
-
isLocalJob
boolean isLocalJob()
-
getTimeoutPolicy
Optional<TimeoutPolicy> getTimeoutPolicy()
-
isCronJob
static boolean isCronJob(ManagedScheduledJob job)
Utility to determine if a managed job is a cron job or not.
-
disabledByDefault
default boolean disabledByDefault()
-
-