Studio Developer Manual / Version 2010
Table Of Contents
If you want to create a job that only runs within the studio client, you need to implement the interface com.coremedia.cap.common.Job
.
Within the execute
method you can perform the wanted operation. You can use the methods of the JobContext
object
to notify about a success, failure, progress or abort.
When a job gets aborted by the user (or because a job with the same groupId is already running), the method
requestAbort
will be called and you can stop the execution of your job and then call the
notifyAbort
method from the JobContext
.