org.opencms.publish
Class CmsPublishJobEnqueued

java.lang.Object
  extended by org.opencms.publish.CmsPublishJobBase
      extended by org.opencms.publish.CmsPublishJobEnqueued

public class CmsPublishJobEnqueued
extends CmsPublishJobBase

Defines a read-only publish job that is still waiting for publishing.

Since:
6.5.5
Version:
$Revision: 1.8 $
Author:
Michael Moossen

Field Summary
 
Fields inherited from class org.opencms.publish.CmsPublishJobBase
m_publishJob
 
Constructor Summary
protected CmsPublishJobEnqueued(CmsPublishJobInfoBean publishJob)
          Default constructor.
 
Method Summary
 long getEnqueueTime()
          Returns the time this object has been created.
 CmsPublishList getPublishList()
          Returns the list of resources to publish.
 I_CmsReport getReport()
          Returns the report for this publish job.
 
Methods inherited from class org.opencms.publish.CmsPublishJobBase
getLocale, getProjectName, getPublishHistoryId, getSize, getUserId, getUserName, isDirectPublish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsPublishJobEnqueued

protected CmsPublishJobEnqueued(CmsPublishJobInfoBean publishJob)
Default constructor.

Parameters:
publishJob - the delegate publish job
Method Detail

getEnqueueTime

public long getEnqueueTime()
Returns the time this object has been created.

Returns:
the time this object has been created

getPublishList

public CmsPublishList getPublishList()
Returns the list of resources to publish.

Returns:
the list of resources to publish

getReport

public I_CmsReport getReport()
Returns the report for this publish job.

This is not the original report, it is wrapper that also writes to a temporary file.

Returns:
the report for this publish job