public interface ManagedScheduledJob extends ScheduledJob
Modifier and Type | Method and Description |
---|---|
boolean |
canDisable() |
boolean |
canRunAdhoc() |
org.quartz.JobDetail |
getJobDetail()
For Quartz job.
|
long |
getLockWaitTime() |
ScheduledJobKey |
getScheduledJobKey()
Returns
ScheduledJobKey.valueOf(JobDetail) when getJobDetail()
returns non-null, or ScheduledJobKey.valueOf(JobId) when ScheduledJob.getJobConfig()
returns non-null. |
Optional<TimeoutPolicy> |
getTimeoutPolicy() |
static boolean |
isCronJob(ManagedScheduledJob job)
Utility to determine if a managed job is a cron job or not.
|
boolean |
isEditable() |
boolean |
isKeepingHistory() |
boolean |
isLocalJob() |
static boolean |
isQuartzJob(ManagedScheduledJob job)
Utility to determine if a managed job is scheduled by Quartz or not.
|
getJobConfig, getJobRunner, isClusteredOnly, sameJobId
ScheduledJobKey getScheduledJobKey()
ScheduledJobKey.valueOf(JobDetail)
when getJobDetail()
returns non-null, or ScheduledJobKey.valueOf(JobId)
when ScheduledJob.getJobConfig()
returns non-null.org.quartz.JobDetail getJobDetail()
null
when
ScheduledJob.getJobRunner()
and ScheduledJob.getJobConfig()
return non-null.boolean isEditable()
boolean isKeepingHistory()
boolean canRunAdhoc()
boolean canDisable()
long getLockWaitTime()
boolean isLocalJob()
Optional<TimeoutPolicy> getTimeoutPolicy()
static boolean isQuartzJob(ManagedScheduledJob job)
true
when getJobDetail()
returns non-null.static boolean isCronJob(ManagedScheduledJob job)
Copyright © 2003–2017 Atlassian. All rights reserved.