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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
CmsPublishEventAdapter
public CmsPublishEventAdapter()
-
-
Method Details
-
onAbort
Description copied from interface:I_CmsPublishEventListener
Called 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:
onAbort
in 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_CmsPublishEventListener
Called once the job is going to be enqueued.- Specified by:
onEnqueue
in interfaceI_CmsPublishEventListener
- Parameters:
publishJob
- the publish job that is going to be enqueued- See Also:
-
onFinish
Description copied from interface:I_CmsPublishEventListener
Called once the job has finished.- Specified by:
onFinish
in interfaceI_CmsPublishEventListener
- Parameters:
publishJob
- the publish job that has finished- See Also:
-
onRemove
Description copied from interface:I_CmsPublishEventListener
Called once the job is going to be removed from the history.- Specified by:
onRemove
in interfaceI_CmsPublishEventListener
- Parameters:
publishJob
- the publish job that is going to be removed from the history- See Also:
-
onStart
Description copied from interface:I_CmsPublishEventListener
Called once the job is going to start.- Specified by:
onStart
in interfaceI_CmsPublishEventListener
- Parameters:
publishJob
- the publish job that is going to start- See Also:
-