com.opencms.report
Class A_CmsReportThread
java.lang.Object
|
+--java.lang.Thread
|
+--com.opencms.report.A_CmsReportThread
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- CmsAdminDatabaseExportThread, CmsAdminDatabaseImportThread, CmsAdminLinkmanagementThread, CmsAdminModuleDeleteThread, CmsAdminModuleExportThread, CmsAdminModuleImportThread, CmsAdminModuleReplaceThread, CmsAdminNewProjectThread, CmsAdminProjectDeleteThread, CmsAdminPublishProjectThread, CmsAdminStaticExportThread, CmsPublishResourceThread, CmsSyncFolderThread
- public abstract class A_CmsReportThread
- extends Thread
Provides a common Thread class for the reports.
- Since:
- 5.0
- Version:
- $Revision: 1.1 $
- Author:
- Alexander Kandzior (a.kandzior@alkacon.com)
|
Method Summary |
boolean |
brokenLinksFound()
Flag to indicate if broken links where found during the Thread opertation. |
abstract String |
getReportUpdate()
Returns the part of the report that is ready for output. |
| 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, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
A_CmsReportThread
public A_CmsReportThread()
getReportUpdate
public abstract String getReportUpdate()
- Returns the part of the report that is ready for output.
- Returns:
- the part of the report that is ready for output
brokenLinksFound
public boolean brokenLinksFound()
- Flag to indicate if broken links where found during the Thread opertation.
Not all report Thread implementations need to check for broken links,
the default implementation is to return false,
indicating that no broken links where found.
- Returns:
- boolean true if broken links where found, false (default) otherwise