Class CmsPublishJobBase

java.lang.Object
org.opencms.publish.CmsPublishJobBase
Direct Known Subclasses:
CmsPublishJobEnqueued, CmsPublishJobFinished, CmsPublishJobRunning

public class CmsPublishJobBase extends Object
Defines a read-only publish job.

Since:
6.5.5
  • Field Details

  • Constructor Details

  • Method Details

    • getLocale

      public Locale getLocale()
      Returns the locale for this publish job.

      Returns:
      the locale for this publish job
    • getProjectName

      Returns the project name or Messages.GUI_DIRECT_PUBLISH_PROJECT_NAME_0 if it is a direct publish job.

      Returns:
      the project name
    • getPublishHistoryId

      Returns the publish history id.

      Returns:
      the publish history id
    • getSize

      public int getSize()
      Returns the number of resources in the publish list.

      Returns:
      the number of resources in the publish list
    • getUserId

      public CmsUUID getUserId()
      Returns the id of the user who initialized this publish job.

      Returns:
      the id of the user who initialized this publish job
    • getUserName

      Returns the name of the user who initialized this publish job.

      Parameters:
      cms - the cms object
      Returns:
      the name of the user who initialized this publish job
    • isDirectPublish

      public boolean isDirectPublish()
      Returns the direct publish state.

      Returns:
      the direct publish state