Package org.opencms.workplace.threads
Class A_CmsProgressThread
java.lang.Object
java.lang.Thread
org.opencms.workplace.threads.A_CmsProgressThread
- All Implemented Interfaces:
Runnable
Abstract thread to keep track of operation progress.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
setDescription
(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 Details
-
A_CmsProgressThread
public A_CmsProgressThread()
-
-
Method Details
-
setDescription
Sets the description to show for the progress.- Parameters:
description
- the description to show for the progress to set
-
setProgress
Sets the progress.- Parameters:
progress
- the progress to set
-