Package org.opencms.workplace.threads
Class A_CmsProgressThread
- java.lang.Object
-
- java.lang.Thread
-
- org.opencms.workplace.threads.A_CmsProgressThread
-
- All Implemented Interfaces:
java.lang.Runnable
public abstract class A_CmsProgressThread extends java.lang.Thread
Abstract thread to keep track of operation progress.
-
-
Constructor Summary
Constructors Constructor Description A_CmsProgressThread()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
setDescription(java.lang.String description)
Sets the description to show for the progress.abstract void
setProgress(int progress)
Sets the progress.-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
A_CmsProgressThread
public A_CmsProgressThread()
-
-
Method Detail
-
setDescription
public abstract void setDescription(java.lang.String description)
Sets the description to show for the progress.- Parameters:
description
- the description to show for the progress to set
-
setProgress
public abstract void setProgress(int progress)
Sets the progress.- Parameters:
progress
- the progress to set
-
-