org.opencms.publish
Class CmsPublishJobRunning

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

public class CmsPublishJobRunning
extends CmsPublishJobBase

Defines a read-only publish job that is being published.

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

Field Summary
 
Fields inherited from class org.opencms.publish.CmsPublishJobBase
m_publishJob
 
Constructor Summary
protected CmsPublishJobRunning(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.
 long getStartTime()
          Returns the time the publish job did actually start.
 CmsUUID getThreadUUID()
          Returns the UUID of the running publish thread.
 
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

CmsPublishJobRunning

protected CmsPublishJobRunning(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
See Also:
CmsPublishJobEnqueued.getReport()

getStartTime

public long getStartTime()
Returns the time the publish job did actually start.

Returns:
the time the publish job did actually start

getThreadUUID

public CmsUUID getThreadUUID()
Returns the UUID of the running publish thread.

Returns:
the UUID of the running publish thread