|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.framework.ExecutionWatcher
public class ExecutionWatcher
Watches the execution of jobs and executes an action when all jobs have been executed.
Constructor Summary | |
---|---|
ExecutionWatcher(Runnable action)
Constructor. |
Method Summary | |
---|---|
Runnable |
addJob(Runnable job)
Add a job. |
void |
start()
Starts the check. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionWatcher(Runnable action)
action
- The action to run.Method Detail |
---|
public Runnable addJob(Runnable job)
job
-
public void start()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |