|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Role public interface JobManager
Proxy used to simplify execution of jobs.
| Method Summary | |
|---|---|
Job |
addJob(String jobType,
Request request)
Add a new job in the queue of jobs to execute. |
Job |
executeJob(String jobType,
Request request)
Start a new job with the provided identifier and wait until its finished. |
Job |
getCurrentJob()
|
JobStatus |
getJobStatus(List<String> id)
Return job status corresponding to the provided id from the current executed job or stored history. |
JobStatus |
getJobStatus(String id)
Return job status corresponding to the provided id from the current executed job or stored history. |
| Method Detail |
|---|
Job getCurrentJob()
JobStatus getJobStatus(String id)
id - the id of the job
JobStatus getJobStatus(List<String> id)
id - the id of the job
Job executeJob(String jobType,
Request request)
throws JobException
jobType - the role hint of the job componentrequest - the request
JobException - error when creating the job
Job addJob(String jobType,
Request request)
throws JobException
jobType - the role hint of the job componentrequest - the request
JobException - error when creating the job
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||