Package org.opencms.publish
Class CmsPublishListenerCollection
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<I_CmsPublishEventListener>
,Collection<I_CmsPublishEventListener>
,List<I_CmsPublishEventListener>
,RandomAccess
Publish job information bean.
- Since:
- 6.5.5
- See Also:
-
Field Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CmsPublishListenerCollection
(CmsPublishEngine publishEngine) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fireAbort
(CmsUUID userId, CmsPublishJobEnqueued publishJob) Fires an abort event to all listeners.protected void
fireEnqueued
(CmsPublishJobBase publishJob) Fires an enqueue event to all listeners.protected void
fireFinish
(CmsPublishJobRunning publishJob) Fires a finish event to all listeners.protected void
fireRemove
(CmsPublishJobFinished publishJob) Fires a remove event to all listeners.protected void
fireStart
(CmsPublishJobEnqueued publishJob) Fires a start event to all listeners.Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Constructor Details
-
CmsPublishListenerCollection
Default constructor.- Parameters:
publishEngine
- the publish engine
-
-
Method Details
-
fireAbort
Fires an abort event to all listeners.- Parameters:
userId
- the id of the user that aborted the jobpublishJob
- the publish job that is going to be aborted.
-
fireEnqueued
Fires an enqueue event to all listeners.- Parameters:
publishJob
- the publish job that is going to be enqueued.
-
fireFinish
Fires a finish event to all listeners.- Parameters:
publishJob
- the publish job that has been finished.
-
fireRemove
Fires a remove event to all listeners.- Parameters:
publishJob
- the publish job that is going to be removed.
-
fireStart
Fires a start event to all listeners.- Parameters:
publishJob
- the publish job that is going to start.
-