Package org.opencms.publish
Class CmsPublishEventAdapter
java.lang.Object
org.opencms.publish.CmsPublishEventAdapter
- All Implemented Interfaces:
I_CmsPublishEventListener
Default implementation for the
I_CmsPublishEventListener.- Since:
- 6.5.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAbort(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.voidonEnqueue(CmsPublishJobBase publishJob) Called once the job is going to be enqueued.voidonFinish(CmsPublishJobRunning publishJob) Called once the job has finished.voidonRemove(CmsPublishJobFinished publishJob) Called once the job is going to be removed from the history.voidonStart(CmsPublishJobEnqueued publishJob) Called once the job is going to start.
-
Constructor Details
-
CmsPublishEventAdapter
public CmsPublishEventAdapter()
-
-
Method Details
-
onAbort
Description copied from interface:I_CmsPublishEventListenerCalled when the job is going to be aborted, this may happen during the shutdown And can only happen if the job is waiting.- Specified by:
onAbortin interfaceI_CmsPublishEventListener- Parameters:
userId- the id of the user that aborted the jobpublishJob- the publish job that is going to be aborted- See Also:
-
onEnqueue
Description copied from interface:I_CmsPublishEventListenerCalled once the job is going to be enqueued.- Specified by:
onEnqueuein interfaceI_CmsPublishEventListener- Parameters:
publishJob- the publish job that is going to be enqueued- See Also:
-
onFinish
Description copied from interface:I_CmsPublishEventListenerCalled once the job has finished.- Specified by:
onFinishin interfaceI_CmsPublishEventListener- Parameters:
publishJob- the publish job that has finished- See Also:
-
onRemove
Description copied from interface:I_CmsPublishEventListenerCalled once the job is going to be removed from the history.- Specified by:
onRemovein interfaceI_CmsPublishEventListener- Parameters:
publishJob- the publish job that is going to be removed from the history- See Also:
-
onStart
Description copied from interface:I_CmsPublishEventListenerCalled once the job is going to start.- Specified by:
onStartin interfaceI_CmsPublishEventListener- Parameters:
publishJob- the publish job that is going to start- See Also:
-