|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
net.sourceforge.java.util.jobs.JobThread
Thread to execute an IJob reporting its
progress using an IProgressMonitor.
| Field Summary | |
private IJob |
job
The IJob to be executed in the JobThread
|
private IProgressMonitor |
monitor
The IProgressMonitor to report the progress of the
IJob to
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
JobThread(IJob job,
IProgressMonitor monitor)
Creates a new JobThread that executes the specified
IJob and reports the progress of the IJob to
the specified IProgressMonitor.
|
|
| Method Summary | |
void |
run()
Runs this JobThread by invoking the
IRunnableWithProgress.run(IProgressMonitor)
method of the IJob.
|
| 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 |
| Field Detail |
private IJob job
The IJob to be executed in the JobThread
private IProgressMonitor monitor
The IProgressMonitor to report the progress of the
IJob to
| Constructor Detail |
public JobThread(IJob job,
IProgressMonitor monitor)
Creates a new JobThread that executes the specified
IJob and reports the progress of the IJob to
the specified IProgressMonitor.
job - the IJob to be executed in this
JobThreadmonitor - the IProgressMonitor to use for reporting
progress of the IJob| Method Detail |
public void run()
Runs this JobThread by invoking the
IRunnableWithProgress.run(IProgressMonitor)
method of the IJob.
IRunnableWithProgress.run(IProgressMonitor)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||