|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.publish.CmsPublishHistory
public class CmsPublishHistory
List of already finished publish jobs.
Field Summary | |
---|---|
protected static org.apache.commons.logging.Log |
LOG
The log object for this class. |
protected CmsPublishEngine |
m_publishEngine
The publish engine. |
Constructor Summary | |
---|---|
protected |
CmsPublishHistory(CmsPublishEngine publishEngine)
Default constructor. |
Method Summary | |
---|---|
protected void |
add(CmsPublishJobInfoBean publishJob)
Adds the given publish job to the list. |
protected java.util.List |
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 |
---|
protected static final org.apache.commons.logging.Log LOG
protected final CmsPublishEngine m_publishEngine
Constructor Detail |
---|
protected CmsPublishHistory(CmsPublishEngine publishEngine)
publishEngine
- the publish engine instanceMethod Detail |
---|
public static org.apache.commons.collections.Buffer getQueue(int size)
size
- the history size
protected void add(CmsPublishJobInfoBean publishJob) throws CmsException
publishJob
- the publish job object to add
CmsException
- if something goes wrongprotected java.util.List asList()
CmsPublishJobFinished
objectsprotected void initialize()
protected void remove(CmsPublishJobInfoBean publishJob) throws CmsException
publishJob
- the publish job to remove
CmsException
- if something goes wrong
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |