| 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 |
|---|---|
JobId |
JobRunnerRequest.getJobId()
Returns the job ID that was used to schedule this job.
|
JobId |
SchedulerService.scheduleJobWithGeneratedId(JobConfig jobConfig)
Schedules a "dynamic" job by generating a new unique job ID.
|
| Modifier and Type | Method and Description |
|---|---|
JobDetails |
SchedulerService.getJobDetails(JobId jobId)
Retrieves the details for the specified job ID.
|
RunDetails |
SchedulerHistoryService.getLastRunForJob(JobId jobId)
Returns the result of the most recent attempt to run this job.
|
RunDetails |
SchedulerHistoryService.getLastSuccessfulRunForJob(JobId jobId)
Returns the result of the most recent successful run of this job.
|
void |
SchedulerService.scheduleJob(JobId jobId,
JobConfig jobConfig)
Schedules a job with the given job ID.
|
void |
SchedulerService.unscheduleJob(JobId jobId)
Unschedules a previously scheduled job ID.
|
| Modifier and Type | Method and Description |
|---|---|
static JobId |
JobId.of(String id)
Wraps the provided string as a
JobId. |
| Modifier and Type | Method and Description |
|---|---|
int |
JobId.compareTo(JobId o) |
| Modifier and Type | Method and Description |
|---|---|
JobId |
JobDetails.getJobId()
Returns the job ID that was used to
schedule
this job, or the one that was generated for it if the job was scheduled
without specifying one. |
Copyright © 2017 Atlassian. All rights reserved.