Package | Description |
---|---|
org.xwiki.job |
Modifier and Type | Interface and Description |
---|---|
interface |
GroupedJob
A Job which is part of a group of jobs.
|
Modifier and Type | Method and Description |
---|---|
Job |
JobManager.addJob(String jobType,
Request request)
Deprecated.
Add a new job in the queue of jobs to execute.
|
Job |
JobExecutor.execute(String jobType,
Request request)
Create and add a new job in the queue of jobs to execute.
|
Job |
JobManager.executeJob(String jobType,
Request request)
Deprecated.
Start a new job with the provided identifier and wait until its finished.
|
Job |
JobManager.getCurrentJob()
Deprecated.
|
Job |
JobContext.getCurrentJob() |
Job |
JobExecutor.getCurrentJob(JobGroupPath groupPath)
The current job running in the passed jobs group.
|
Job |
JobExecutor.getJob(List<String> jobId)
Return job corresponding to the provided id from the current executed or waiting jobs.
|
Modifier and Type | Method and Description |
---|---|
void |
JobManager.addJob(Job job)
Deprecated.
Add a new job in the queue of jobs to execute.
|
void |
JobExecutor.execute(Job job)
Add a new job in the queue of jobs to execute.
|
void |
JobContext.pushCurrentJob(Job job) |
Copyright © 2004–2016 XWiki. All rights reserved.