Class CmsPublishListenerCollection

    • Field Summary

      • Fields inherited from class java.util.Vector

        capacityIncrement, elementCount, elementData
      • Fields inherited from class java.util.AbstractList

        modCount
    • 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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
    • 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 job
        publishJob - 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.