public class SchedulerRpc extends Object
Constructor and Description |
---|
SchedulerRpc(AuthenticatedWebResourceProvider resourceProvider) |
Modifier and Type | Method and Description |
---|---|
void |
addJobs(ScheduledJobKey job,
com.atlassian.scheduler.status.RunOutcome runOutcome,
Integer days,
Integer total) |
long |
countJobRunDetails(ScheduledJobKey jobKey,
com.atlassian.scheduler.status.RunOutcome runOutcome) |
void |
pauseAllJobs() |
void |
pauseJob(QuartzJob job)
Deprecated.
since 5.10. Use
pauseJob(ScheduledJobKey) . |
void |
pauseJob(ScheduledJobKey job) |
void |
pauseJob(String jobSpec)
Deprecated.
Since 5.6. Use
pauseJob(ScheduledJobKey) . |
void |
pauseJobGroup(String jobGroupName) |
void |
resumeAllJobs() |
void |
resumeJob(QuartzJob job)
Deprecated.
since 5.10. Use
resumeJob(ScheduledJobKey) . |
void |
resumeJob(ScheduledJobKey job) |
void |
resumeJob(String jobSpec)
Deprecated.
Since 5.6. Use
resumeJob(ScheduledJobKey) . |
void |
shutdown() |
void |
triggerJob(QuartzJob job)
Deprecated.
since 5.10. Use
triggerJob(ScheduledJobKey) . |
void |
triggerJob(QuartzJob job,
boolean pauseBackgroundJobs)
Deprecated.
since 5.10. Use
triggerJob(ScheduledJobKey, boolean) . |
void |
triggerJob(ScheduledJobKey job) |
void |
triggerJob(ScheduledJobKey job,
boolean pauseBackgroundJobs) |
void |
triggerJob(String jobSpec,
boolean pauseBackgroundJobs)
Deprecated.
Since 5.6. Use
triggerJob(ScheduledJobKey, boolean) . |
public SchedulerRpc(AuthenticatedWebResourceProvider resourceProvider)
public void pauseAllJobs()
public void resumeAllJobs()
public void shutdown()
public void pauseJobGroup(String jobGroupName)
public void pauseJob(ScheduledJobKey job)
@Deprecated public void pauseJob(QuartzJob job)
pauseJob(ScheduledJobKey)
.public void resumeJob(ScheduledJobKey job)
@Deprecated public void resumeJob(QuartzJob job)
resumeJob(ScheduledJobKey)
.public void triggerJob(ScheduledJobKey job)
public long countJobRunDetails(ScheduledJobKey jobKey, com.atlassian.scheduler.status.RunOutcome runOutcome)
public void addJobs(ScheduledJobKey job, com.atlassian.scheduler.status.RunOutcome runOutcome, Integer days, Integer total)
job
- the job keydays
- time-to-live in daystotal
- total number of faked jobs to be added@Deprecated public void triggerJob(QuartzJob job)
triggerJob(ScheduledJobKey)
.public void triggerJob(ScheduledJobKey job, boolean pauseBackgroundJobs)
@Deprecated public void triggerJob(QuartzJob job, boolean pauseBackgroundJobs)
triggerJob(ScheduledJobKey, boolean)
.@Deprecated public void pauseJob(String jobSpec)
pauseJob(ScheduledJobKey)
.@Deprecated public void triggerJob(String jobSpec, boolean pauseBackgroundJobs)
triggerJob(ScheduledJobKey, boolean)
.@Deprecated public void resumeJob(String jobSpec)
resumeJob(ScheduledJobKey)
.Copyright © 2003–2019 Atlassian. All rights reserved.