CmsPublishEngine.getPublishQueue
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using org.opencms.publish.CmsPublishEngine.getPublishQueue (Showing top 6 results out of 315)

origin: org.opencms/opencms-core

/**
 * Returns the queue with still waiting publish jobs.<p>
 *
 * @return a list of {@link CmsPublishJobEnqueued} objects
 */
public List<CmsPublishJobEnqueued> getPublishQueue() {
  return m_publishEngine.getPublishQueue().asList();
}
origin: org.opencms/opencms-solr

/**
 * Returns the queue with still waiting publish jobs.<p>
 * 
 * @return a list of {@link CmsPublishJobEnqueued} objects
 */
public List getPublishQueue() {
  return m_publishEngine.getPublishQueue().asList();
}
origin: org.opencms/opencms-solr

Iterator itEnqueuedJobs = getPublishQueue().asList().iterator();
while (itEnqueuedJobs.hasNext()) {
  CmsPublishJobEnqueued enqueuedJob = (CmsPublishJobEnqueued)itEnqueuedJobs.next();
origin: org.opencms/opencms-core

Iterator<CmsPublishJobEnqueued> itEnqueuedJobs = getPublishQueue().asList().iterator();
while (itEnqueuedJobs.hasNext()) {
  CmsPublishJobEnqueued enqueuedJob = itEnqueuedJobs.next();
origin: org.opencms/opencms-core

  getPublishHistory().add(publishJob.m_publishJob);
} else {
  getPublishQueue().remove(publishJob.m_publishJob);
origin: org.opencms/opencms-solr

  getPublishHistory().add(publishJob.m_publishJob);
} else {
  getPublishQueue().remove(publishJob.m_publishJob);
org.opencms.publishCmsPublishEnginegetPublishQueue

Javadoc

Returns the queue with still waiting publish job.

Popular methods of CmsPublishEngine

  • <init>
    Default constructor.
  • abortPublishJob
    Aborts the given publish job.
  • addPublishListener
    Adds a publish listener to listen on publish events.
  • disableEngine
    Disables the publish engine, i.e. publish jobs are not accepted.
  • enableEngine
    Enables the publish engine, i.e. publish jobs are accepted.
  • enqueuePublishJob
    Enqueues a new publish job with the given information in publish queue. All resources should already
  • getCurrentPublishJob
    Returns the current running publish job.
  • getDriverManager
    Returns the driver manager instance.
  • getJobByPublishHistoryId
    Returns a publish job based on its publish history id. The returned publish job may be an enqueued,
  • getPublishHistory
    Returns the publish history list with already publish job.
  • getReportContents
    Returns the content of the publish report assigned to the given publish job.
  • getUser
    Returns the user identified by the given id.
  • getReportContents,
  • getUser,
  • initialize,
  • isEnabled,
  • isRunning,
  • lockPublishList,
  • publishJobFinished,
  • publishJobRemoved,
  • publishJobStarted

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JComboBox (javax.swing)
  • JLabel (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)