public class SchedulerBackdoor extends Object
SchedulerService
.Modifier and Type | Class and Description |
---|---|
static class |
SchedulerBackdoor.JobBean |
static class |
SchedulerBackdoor.JobRunBean |
Constructor and Description |
---|
SchedulerBackdoor(com.atlassian.scheduler.SchedulerService schedulerService,
com.atlassian.scheduler.SchedulerHistoryService schedulerHistoryService) |
Modifier and Type | Method and Description |
---|---|
List<SchedulerBackdoor.JobBean> |
getAllJobs() |
SchedulerBackdoor.JobBean |
getJob(String jobId) |
List<String> |
getJobRunnerKeys() |
List<SchedulerBackdoor.JobBean> |
getJobsByJobRunnerKey(String jobRunnerKey) |
SchedulerBackdoor.JobRunBean |
getLastJobRun(String jobId) |
SchedulerBackdoor.JobRunBean |
getLastSuccessfulJobRun(String jobId) |
public SchedulerBackdoor(com.atlassian.scheduler.SchedulerService schedulerService, com.atlassian.scheduler.SchedulerHistoryService schedulerHistoryService)
@Nullable public SchedulerBackdoor.JobBean getJob(String jobId)
@Nullable public SchedulerBackdoor.JobRunBean getLastJobRun(String jobId)
@Nullable public SchedulerBackdoor.JobRunBean getLastSuccessfulJobRun(String jobId)
public List<SchedulerBackdoor.JobBean> getJobsByJobRunnerKey(String jobRunnerKey)
public List<SchedulerBackdoor.JobBean> getAllJobs()
Copyright © 2002-2019 Atlassian. All Rights Reserved.