| 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.
|
| Modifier and Type | Method and Description |
|---|---|
JobConfig |
JobRunnerRequest.getJobConfig()
Returns the job's configuration, such as its schedule and parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SchedulerService.scheduleJob(JobId jobId,
JobConfig jobConfig)
Schedules a job with the given job ID.
|
JobId |
SchedulerService.scheduleJobWithGeneratedId(JobConfig jobConfig)
Schedules a "dynamic" job by generating a new unique job ID.
|
| Modifier and Type | Method and Description |
|---|---|
static JobConfig |
JobConfig.forJobRunnerKey(JobRunnerKey jobRunnerKey)
Creates a new job configuration for the specified job runner key.
|
JobConfig |
JobConfig.withParameters(Map<String,Serializable> parameters)
Returns a copy of this job config that will use the specified parameters
instead of what it currently uses.
|
JobConfig |
JobConfig.withRunMode(RunMode runMode)
Returns a copy of this job config that will use the specified run mode
instead of what it currently uses.
|
JobConfig |
JobConfig.withSchedule(Schedule schedule)
Returns a copy of this job config that will use the specified schedule
instead of what it currently uses.
|
Copyright © 2017 Atlassian. All rights reserved.