General Actions:
| A set of APIs to easily communicate with an asynchronous task |
| Type | JAR |
| Developed by | |
| License | GNU Lesser General Public License 2.1 |
| Bundled With | XWiki Enterprise, XWiki Enterprise Manager |
| Compatibility | Since 4.0 Milestone 1 |
Table of contents
The goal of this module is to make easier to allow two ways communication with a task executed in a background thread.
Minimal job provide:
and can be extended as long as the client of the API know the extended interface.
The common way to use a job is by going trough org.xwiki.job.JobManager.
To register a new job that anyone can then use in JobManager you need to register a component with role org.xwiki.job.Job and a role hint to differentiate it from other jobs and allow users to target it.