public class JiraPluginScheduler extends Object implements com.atlassian.sal.api.scheduling.PluginScheduler, com.atlassian.scheduler.JobRunner
v2.11.0
.Constructor and Description |
---|
JiraPluginScheduler(com.atlassian.scheduler.SchedulerService schedulerService) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.scheduler.JobRunnerResponse |
runJob(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest) |
void |
scheduleJob(String jobKey,
Class<? extends com.atlassian.sal.api.scheduling.PluginJob> jobClass,
Map<String,Object> jobDataMap,
Date startTime,
long repeatInterval) |
void |
unscheduleJob(String jobKey) |
public JiraPluginScheduler(com.atlassian.scheduler.SchedulerService schedulerService)
public void scheduleJob(String jobKey, Class<? extends com.atlassian.sal.api.scheduling.PluginJob> jobClass, Map<String,Object> jobDataMap, Date startTime, long repeatInterval)
scheduleJob
in interface com.atlassian.sal.api.scheduling.PluginScheduler
public void unscheduleJob(String jobKey)
unscheduleJob
in interface com.atlassian.sal.api.scheduling.PluginScheduler
@Nonnull public com.atlassian.scheduler.JobRunnerResponse runJob(com.atlassian.scheduler.JobRunnerRequest jobRunnerRequest)
runJob
in interface com.atlassian.scheduler.JobRunner
Copyright © 2002-2023 Atlassian. All Rights Reserved.