|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.opencms.report.A_CmsReportThread
org.opencms.workplace.threads.CmsXmlDocumentLinkValidatorThread
A report thread for the HTML link validator.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
CmsXmlDocumentLinkValidatorThread(CmsObject cms)
Creates a thread that validates the HTML links (hrefs and images) in all unpublished Cms files of the current (offline) project, if the files resource types implement the interface I_CmsXmlDocumentLinkValidatable. |
|
CmsXmlDocumentLinkValidatorThread(CmsObject cms,
CmsResource directPublishResource,
boolean directPublishSiblings,
CmsWorkplaceSettings settings)
Creates a thread that validates the HTML links (hrefs and images) in the unpublished Cms file of the current (offline) project, if the file's resource type implements the interface I_CmsXmlDocumentLinkValidatable. |
|
| Method Summary | |
String |
getReportUpdate()
Returns the part of the report that is ready for output. |
void |
run()
|
| Methods inherited from class org.opencms.report.A_CmsReportThread |
addError, getCms, getError, getErrors, getReport, getRuntime, getUUID, hasError, initHtmlReport, initHtmlReport, initOldHtmlReport, isDoomed |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.opencms.report.I_CmsReportThread |
start |
| Constructor Detail |
public CmsXmlDocumentLinkValidatorThread(CmsObject cms)
I_CmsXmlDocumentLinkValidatable.Please refer to the Javadoc of the I_CmsHtmlLinkValidatable interface to see which classes implement this interface (and so, which file types get validated by the HTML link validator).
The generated Cms publish list is *NOT* saved in the current user's workplace settings.
cms - the current OpenCms context objectCmsObject.getPublishList()
public CmsXmlDocumentLinkValidatorThread(CmsObject cms,
CmsResource directPublishResource,
boolean directPublishSiblings,
CmsWorkplaceSettings settings)
I_CmsXmlDocumentLinkValidatable.Please refer to the Javadoc of the I_CmsHtmlLinkValidatable interface to see which classes implement this interface (and so, which file types get validated by the HTML link validator).
The generated Cms publish list *IS* saved in the current user's workplace settings for further processing by other threads. The last thread processing this publish list *MUST* ensure that the publish list gets removed from the current user's workplace settings!
cms - the current OpenCms context objectdirectPublishResource - the resource which will be directly publisheddirectPublishSiblings - true, if all eventual siblings of the direct published resource should also get publishedsettings - the current user's workplace settingsCmsObject.getPublishList(CmsResource, boolean)| Method Detail |
public String getReportUpdate()
A_CmsReportThread
getReportUpdate in class A_CmsReportThreadA_CmsReportThread.getReportUpdate()public void run()
Runnable.run()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||