Modifier and Type | Field and Description |
---|---|
private java.util.List<Task> |
activeChildren
The vector of active children, those child jobs to be run or being run.
|
private boolean |
inParallel
Specify if child tasks will be processed in parallel.
|
private boolean |
prepared
If the preliminary jobs have been completed, this is true.
|
protected java.util.LinkedList<java.lang.String[]> |
unconstructed
List of child jobs not constructed yet.
|
name, nameParSep, param, parent
Constructor and Description |
---|
Node(Node parent,
java.lang.String name,
java.lang.String param,
boolean inParallel,
boolean prepared) |
Modifier and Type | Method and Description |
---|---|
protected Status |
advance()
Check the current status assuming the last update had status RUNNING.
|
private void |
branch() |
private Status |
doBreak() |
protected java.lang.String |
dumpMore() |
protected java.lang.String |
dumpMoreFurther() |
protected boolean |
isParameterized() |
protected boolean |
postPrep()
Precess the results of preparation jobs after all its current active
children are finished.
|
protected void |
postSuccess() |
protected abstract void |
prePrep()
Initial setup of the child jobs.
|
protected void |
terminate()
Terminate this job.
|
debugDump, extractTaskName, fetchAncestry, getLevel, getName, getParam, getStatus, hasSucceededLast, ignore, kill, markFail, toString, updateStatus
private final boolean inParallel
private boolean prepared
private final java.util.List<Task> activeChildren
protected final java.util.LinkedList<java.lang.String[]> unconstructed
Node(Node parent, java.lang.String name, java.lang.String param, boolean inParallel, boolean prepared) throws java.lang.Exception
parent
- The parent job.name
- The name of the job.inParallel
- If true, the child jobs of this Node will run in
parallel. Otherwise, they will run in sequence. For non-parameterized jobs,
this is always true. For parameterized jobs, this indicate if all
parameters to the jobs are set up.java.lang.Exception
private void branch() throws java.lang.Exception
java.lang.Exception
protected final Status advance() throws java.lang.Exception
Task
private Status doBreak()
protected void terminate()
protected abstract void prePrep()
protected boolean postPrep() throws java.lang.Exception
java.lang.Exception
protected void postSuccess()
protected java.lang.String dumpMoreFurther()
protected boolean isParameterized()
Copyright © 2006-2015 Heng Sun.