com.opencms.workplace
Class CmsAdminModuleDeleteThread

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

public class CmsAdminModuleDeleteThread
extends A_CmsReportThread

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

Since:
5.0 rc 1
Version:
$Revision: 1.18 $
Author:
Alexander Kandzior (a.kandzior@alkacon.com), Hanjo Riege

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CmsAdminModuleDeleteThread(CmsObject cms, I_CmsRegistry reg, String moduleName, Vector conflictFiles, Vector projectFiles, boolean replaceMode)
          Creates the module delete 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

CmsAdminModuleDeleteThread

public CmsAdminModuleDeleteThread(CmsObject cms,
                                  I_CmsRegistry reg,
                                  String moduleName,
                                  Vector conflictFiles,
                                  Vector projectFiles,
                                  boolean replaceMode)
Creates the module delete 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