Interface ManagedScheduledJob
- All Superinterfaces:
ScheduledJob
- All Known Implementing Classes:
AbstractManagedScheduledJob
,ManagedScheduledCronJob
,ManagedScheduledSimpleJob
Encapsulates the static configuration of a managed scheduled job.
Implementations should be immutable.
- Since:
- 5.10
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
default boolean
com.atlassian.scheduler.config.JobId
getJobId()
long
static boolean
Utility to determine if a managed job is a cron job or not.boolean
boolean
boolean
Methods inherited from interface com.atlassian.confluence.schedule.ScheduledJob
getJobConfig, getJobRunner, isClusteredOnly
-
Method Details
-
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
Utility to determine if a managed job is a cron job or not. -
disabledByDefault
default boolean disabledByDefault()
-