| Package | Description |
|---|---|
| com.atlassian.scheduler |
Major component interfaces and supporting classes for the atlassian-scheduler API.
|
| com.atlassian.scheduler.config |
API classes related to the configuration of scheduled jobs.
|
| com.atlassian.scheduler.status |
API classes related to the current status of a job or the results of running one.
|
| Modifier and Type | Method and Description |
|---|---|
Set<JobRunnerKey> |
SchedulerService.getJobRunnerKeysForAllScheduledJobs()
Returns all of the job runner keys that have been used to schedule jobs, regardless
of whether or not
JobRunners are currently registered for them. |
Set<JobRunnerKey> |
SchedulerService.getRegisteredJobRunnerKeys()
Returns all of the job runner keys that currently have registered job runners, regardless
of whether or not any jobs have actually been
scheduled
for them. |
| Modifier and Type | Method and Description |
|---|---|
List<JobDetails> |
SchedulerService.getJobsByJobRunnerKey(JobRunnerKey jobRunnerKey)
Retrieves the job details for all jobs with the given job runner key.
|
void |
SchedulerService.registerJobRunner(JobRunnerKey jobRunnerKey,
JobRunner jobRunner)
Registers the job runner for a given job runner key.
|
void |
SchedulerService.unregisterJobRunner(JobRunnerKey jobRunnerKey)
Unregisters the specified job runner.
|
| Modifier and Type | Method and Description |
|---|---|
JobRunnerKey |
JobConfig.getJobRunnerKey() |
static JobRunnerKey |
JobRunnerKey.of(String key)
Wraps the provided string as a
JobRunnerKey. |
| Modifier and Type | Method and Description |
|---|---|
int |
JobRunnerKey.compareTo(JobRunnerKey o) |
static JobConfig |
JobConfig.forJobRunnerKey(JobRunnerKey jobRunnerKey)
Creates a new job configuration for the specified job runner key.
|
| Modifier and Type | Method and Description |
|---|---|
JobRunnerKey |
JobDetails.getJobRunnerKey()
Returns the
job runner key that was specified when this job was
scheduled. |
Copyright © 2017 Atlassian. All rights reserved.