|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface listens to events for a specific publish job.
The life cycle of publish is following:
Method Summary | |
void |
onAbort(CmsUUID userId,
CmsPublishJobEnqueued publishJob)
Called when the job is going to be aborted, this may happen during the shutdown And can only happen if the job is waiting. |
void |
onEnqueue(CmsPublishJobBase publishJob)
Called once the job is going to be enqueued. |
void |
onFinish(CmsPublishJobRunning publishJob)
Called once the job has finished. |
void |
onRemove(CmsPublishJobFinished publishJob)
Called once the job is going to be removed from the history. |
void |
onStart(CmsPublishJobEnqueued publishJob)
Called once the job is going to start. |
Method Detail |
public void onAbort(CmsUUID userId, CmsPublishJobEnqueued publishJob)
userId
- the id of the user that aborted the jobpublishJob
- the publish job that is going to be abortedpublic void onEnqueue(CmsPublishJobBase publishJob)
publishJob
- the publish job that is going to be enqueuedpublic void onFinish(CmsPublishJobRunning publishJob)
publishJob
- the publish job that has finishedpublic void onRemove(CmsPublishJobFinished publishJob)
publishJob
- the publish job that is going to be removed from the historypublic void onStart(CmsPublishJobEnqueued publishJob)
publishJob
- the publish job that is going to start
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |