/** * Returns the current running publish job.<p> * * @return the current running publish job */ public CmsPublishJobRunning getCurrentPublishJob() { if (m_publishEngine.getCurrentPublishJob() == null) { return null; } return new CmsPublishJobRunning(m_publishEngine.getCurrentPublishJob().getPublishJob()); }
/** * Returns the current running publish job.<p> * * @return the current running publish job */ public CmsPublishJobRunning getCurrentPublishJob() { if (m_publishEngine.getCurrentPublishJob() == null) { return null; } return new CmsPublishJobRunning(m_publishEngine.getCurrentPublishJob().getPublishJob()); }
CmsPublishJobInfoBean publishJob = m_currentPublishThread.getPublishJob(); try { abortPublishJob(m_adminUserId, new CmsPublishJobEnqueued(publishJob), false);
&& m_currentPublishThread.getPublishJob().getPublishHistoryId().equals(publishHistoryId)) { return new CmsPublishJobRunning(m_currentPublishThread.getPublishJob());
&& m_currentPublishThread.getPublishJob().getPublishHistoryId().equals(publishHistoryId)) { return new CmsPublishJobRunning(m_currentPublishThread.getPublishJob());
CmsPublishJobInfoBean publishJob = m_currentPublishThread.getPublishJob(); try { abortPublishJob(m_adminUserId, new CmsPublishJobEnqueued(publishJob), false);
unlockPublishList(m_currentPublishThread.getPublishJob()); } catch (CmsException exc) { LOG.error(exc.getLocalizedMessage(), exc);
m_publishEngine.publishJobFinished(getPublishJob()); } catch (Throwable e) { LOG.error(e.getMessage(), e);
|| !publishJob.m_publishJob.equals(m_currentPublishThread.getPublishJob())) {
if ((m_currentPublishThread == null) || !publishJob.m_publishJob.equals(m_currentPublishThread.getPublishJob())) {
m_publishEngine.publishJobFinished(getPublishJob()); } catch (CmsException exc) { LOG.error(exc.getLocalizedMessage(), exc);