|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jomic.tools.AbstractTask
net.sf.jomic.tools.NestedTask
public class NestedTask
A task composed of sub-tasks.
| Constructor Summary | |
|---|---|
NestedTask(Task[] newSubTasks)
|
|
NestedTask(Task[] newSubTasks,
boolean newAfterErrorContinueWithNextTask)
|
|
| Method Summary | |
|---|---|
void |
progressChanged(Task source)
Listen to progress changes in sub-tasks and update the total progress of the nested task accordingly. |
void |
start()
Run the sub-tasks. |
| Methods inherited from class net.sf.jomic.tools.AbstractTask |
|---|
addProgressChangeListener, getMaxProgress, getProgress, getProgressMessage, isInterrupted, removeProgressChangeListener, setMaxProgress, setProgress, setProgressMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NestedTask(Task[] newSubTasks)
public NestedTask(Task[] newSubTasks,
boolean newAfterErrorContinueWithNextTask)
| Method Detail |
|---|
public void progressChanged(Task source)
progressChanged in interface ProgressChangeListener
public void start()
throws java.lang.Exception
start in interface Taskstart in class AbstractTaskjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||