public interface I_CmsPublishEventListener
The life cycle of publish is following:
| Modifier and Type | Method and Description |
|---|---|
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.
|
void onAbort(CmsUUID userId, CmsPublishJobEnqueued publishJob)
userId - the id of the user that aborted the jobpublishJob - the publish job that is going to be abortedvoid onEnqueue(CmsPublishJobBase publishJob)
publishJob - the publish job that is going to be enqueuedvoid onFinish(CmsPublishJobRunning publishJob)
publishJob - the publish job that has finishedvoid onRemove(CmsPublishJobFinished publishJob)
publishJob - the publish job that is going to be removed from the historyvoid onStart(CmsPublishJobEnqueued publishJob)
publishJob - the publish job that is going to start