Package org.opencms.publish
Class CmsPublishListenerCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.Vector<I_CmsPublishEventListener>
-
- org.opencms.publish.CmsPublishListenerCollection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<I_CmsPublishEventListener>
,java.util.Collection<I_CmsPublishEventListener>
,java.util.List<I_CmsPublishEventListener>
,java.util.RandomAccess
public final class CmsPublishListenerCollection extends java.util.Vector<I_CmsPublishEventListener>
Publish job information bean.- Since:
- 6.5.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsPublishListenerCollection(CmsPublishEngine publishEngine)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
CmsPublishListenerCollection
protected CmsPublishListenerCollection(CmsPublishEngine publishEngine)
Default constructor.- Parameters:
publishEngine
- the publish engine
-
-
Method Detail
-
fireAbort
protected void fireAbort(CmsUUID userId, CmsPublishJobEnqueued publishJob)
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
protected void fireEnqueued(CmsPublishJobBase publishJob)
Fires an enqueue event to all listeners.- Parameters:
publishJob
- the publish job that is going to be enqueued.
-
fireFinish
protected void fireFinish(CmsPublishJobRunning publishJob)
Fires a finish event to all listeners.- Parameters:
publishJob
- the publish job that has been finished.
-
fireRemove
protected void fireRemove(CmsPublishJobFinished publishJob)
Fires a remove event to all listeners.- Parameters:
publishJob
- the publish job that is going to be removed.
-
fireStart
protected void fireStart(CmsPublishJobEnqueued publishJob)
Fires a start event to all listeners.- Parameters:
publishJob
- the publish job that is going to start.
-
-