public interface JobsResource
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The entry name of the resource.
|
Modifier and Type | Method and Description |
---|---|
JobStatus |
executeJob(String jobType,
boolean async,
JobRequest jobRequest)
Start a new Job.
|
static final String NAME
JobStatus executeJob(String jobType, boolean async, JobRequest jobRequest) throws XWikiRestException
jobType
- the type of the job to startasync
- true if the REST request should return without waiting for the end of the jobjobRequest
- the request controlling job behaviorXWikiRestException
- when failing to start jobCopyright © 2004–2021 XWiki. All rights reserved.