/** * Signalizes the end of the publish job.<p> * Actually only sets the finish time and closes the publish report stream.<p> */ protected void finish() { if (m_finishTime != 0) { throw new CmsRuntimeException(Messages.get().container(Messages.ERR_PUBLISH_JOB_ALREADY_FINISHED_0)); } m_cms = null; m_report = null; m_size = m_publishList.size(); m_publishList = null; if (m_publishReport instanceof CmsPublishReport) { ((CmsPublishReport)m_publishReport).finish(); } m_threadUUID = null; m_finishTime = System.currentTimeMillis(); }
/** * Signalizes the end of the publish job.<p> * Actually only sets the finish time and closes the publish report stream.<p> */ protected void finish() { if (m_finishTime != 0) { throw new CmsRuntimeException(Messages.get().container(Messages.ERR_PUBLISH_JOB_ALREADY_FINISHED_0)); } m_cms = null; m_report = null; m_size = m_publishList.size(); m_publishList = null; if (m_publishReport instanceof CmsPublishReport) { ((CmsPublishReport)m_publishReport).finish(); } m_threadUUID = null; m_finishTime = System.currentTimeMillis(); }