org.yasl.jarinspector.component
Class JarInspProgressThread
java.lang.Object
org.yasl.progress.ProgressThread
org.yasl.jarinspector.component.JarInspProgressThread
- All Implemented Interfaces:
- DynamicJarLoaderStatus, Runnable
- public class JarInspProgressThread
- extends ProgressThread
- implements DynamicJarLoaderStatus
- Version:
- 1.0
- Author:
- Jeff Chapman
|
Method Summary |
void |
cancelTask()
|
void |
jarLoadStatus(int mssgId,
String mssg)
Records the status of the jar loading process for
display to user. |
void |
run()
When an object implementing interface Runnable is used to
create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarInspProgressThread
public JarInspProgressThread(JarInfoModel jarInfoModel)
cancelTask
public void cancelTask()
- Overrides:
cancelTask in class ProgressThread
run
public void run()
- When an object implementing interface
Runnable is used to
create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread.
- Specified by:
run in interface Runnable
jarLoadStatus
public void jarLoadStatus(int mssgId,
String mssg)
- Records the status of the jar loading process for
display to user. The implementing class will handle
creating the message to display to the user.
The mssgId integer refers to one of the MSSGID constants.
The mssg String value depends on the particular MSSGID:
MSSGID_FINDINGJARFILES = jar file name
MSSGID_FINDINGCLASSES = jar file name
MSSGID_FINDINGRESOURCES = jar file name
MSSGID_LOADINGCLASSES = class name
- Specified by:
jarLoadStatus in interface DynamicJarLoaderStatus
- Parameters:
mssgId - intmssg - String