org.opencms.workplace.threads
Class CmsModuleReplaceThread
java.lang.Object
java.lang.Thread
org.opencms.report.A_CmsReportThread
org.opencms.workplace.threads.CmsModuleReplaceThread
- All Implemented Interfaces:
- Runnable, I_CmsReportThread
public class CmsModuleReplaceThread
- extends A_CmsReportThread
Replaces a module.
- Since:
- 6.0.0
- Version:
- $Revision: 1.7 $
- Author:
- Alexander Kandzior, Thomas Weckert
| Methods inherited from class org.opencms.report.A_CmsReportThread |
addError, getCms, getError, getErrors, getReport, getRuntime, getUUID, hasError, initHtmlReport, initOldHtmlReport, isDoomed |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
CmsModuleReplaceThread
public CmsModuleReplaceThread(CmsObject cms,
String moduleName,
String zipName,
boolean old)
- Creates the module replace thread.
- Parameters:
cms - the current cms contextmoduleName - the name of the modulezipName - the name of the module ZIP fileold - flag for report mode
getModuleResources
public static Vector getModuleResources(String moduleName)
- Collects all resource names belonging to a module in a Vector.
- Parameters:
moduleName - the name of the module
- Returns:
- Vector with path Strings of resources
getReportUpdate
public String getReportUpdate()
- Description copied from class:
A_CmsReportThread
- Returns the part of the report that is ready for output.
- Specified by:
getReportUpdate in class A_CmsReportThread
- Returns:
- the part of the report that is ready for output
- See Also:
A_CmsReportThread.getReportUpdate()
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Runnable.run()