Package org.opencms.publish
Class CmsPublishListenerCollection
java.lang.Object
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<I_CmsPublishEventListener>,Collection<I_CmsPublishEventListener>,List<I_CmsPublishEventListener>,RandomAccess,SequencedCollection<I_CmsPublishEventListener>
Publish job information bean.
- Since:
- 6.5.5
- See Also:
-
Field Summary
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCmsPublishListenerCollection(CmsPublishEngine publishEngine) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfireAbort(CmsUUID userId, CmsPublishJobEnqueued publishJob) Fires an abort event to all listeners.protected voidfireEnqueued(CmsPublishJobBase publishJob) Fires an enqueue event to all listeners.protected voidfireFinish(CmsPublishJobRunning publishJob) Fires a finish event to all listeners.protected voidfireRemove(CmsPublishJobFinished publishJob) Fires a remove event to all listeners.protected voidfireStart(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, trimToSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
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.
-