com.opencms.workplace
Class CmsAdminModuleReplaceThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.opencms.report.A_CmsReportThread
              |
              +--com.opencms.workplace.CmsAdminModuleReplaceThread
All Implemented Interfaces:
Runnable

public class CmsAdminModuleReplaceThread
extends A_CmsReportThread

Replaces a module, showing a progress indicator report dialog that is continuously updated.

Since:
5.0
Version:
$Revision: 1.3 $
Author:
Alexander Kandzior (a.kandzior@alkacon.com)

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CmsAdminModuleReplaceThread(CmsObject cms, I_CmsRegistry reg, String moduleName, String zipName, Vector conflictFiles, Vector projectFiles)
          Creates the module replace thread.
 
Method Summary
 String getReportUpdate()
          Returns the part of the report that is ready.
 void run()
           
 
Methods inherited from class com.opencms.report.A_CmsReportThread
brokenLinksFound
 
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
 

Constructor Detail

CmsAdminModuleReplaceThread

public CmsAdminModuleReplaceThread(CmsObject cms,
                                   I_CmsRegistry reg,
                                   String moduleName,
                                   String zipName,
                                   Vector conflictFiles,
                                   Vector projectFiles)
Creates the module replace thread.

Parameters:
cms - the current cms context
reg - the registry to write the new module information to
moduleName - the name of the module
conflictFiles - vector of conflict files
projectFiles - vector of project files
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Runnable.run()

getReportUpdate

public String getReportUpdate()
Returns the part of the report that is ready.

Specified by:
getReportUpdate in class A_CmsReportThread
Returns:
the part of the report that is ready