Class CmsPublishHistory


  • public class CmsPublishHistory
    extends java.lang.Object
    List of already finished publish jobs.

    Since:
    6.5.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.commons.logging.Log LOG
      The log object for this class.
      protected CmsPublishEngine m_publishEngine
      The publish engine.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void add​(CmsPublishJobInfoBean publishJob)
      Adds the given publish job to the list.
      protected java.util.List<CmsPublishJobFinished> asList()
      Returns an unmodifiable list representation of this list.
      static org.apache.commons.collections.Buffer getQueue​(int size)
      Returns (and initializes) the queue.
      protected void initialize()
      Initializes the internal FIFO queue with publish jobs from the database.
      protected void remove​(CmsPublishJobInfoBean publishJob)
      Removes the given job from the list.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        protected static final org.apache.commons.logging.Log LOG
        The log object for this class.
    • Constructor Detail

    • Method Detail

      • getQueue

        public static org.apache.commons.collections.Buffer getQueue​(int size)
        Returns (and initializes) the queue.

        Parameters:
        size - the history size
        Returns:
        the queue buffer
      • initialize

        protected void initialize()
        Initializes the internal FIFO queue with publish jobs from the database.