final class Exec extends Leaf
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Process |
proc
The new process where job will be run.
|
name, nameParSep, param, parent| Constructor and Description |
|---|
Exec(Node parent,
java.lang.String name,
java.lang.String param) |
| Modifier and Type | Method and Description |
|---|---|
protected Status |
advance()
Check the current status assuming the last update had status RUNNING.
|
(package private) void |
invoke()
Invoke the job in a separate process.
|
(package private) boolean |
isRunning()
Check if this job is running.
|
protected void |
terminate()
Kill this job and set its status to fail.
|
debugDump, extractTaskName, fetchAncestry, getLevel, getName, getParam, getStatus, hasSucceededLast, ignore, kill, markFail, toString, updateStatusExec(Node parent, java.lang.String name, java.lang.String param) throws java.lang.Exception
java.lang.Exceptionprotected Status advance() throws java.lang.Exception
Taskvoid invoke()
throws java.lang.Exception
java.lang.Exceptionboolean isRunning()
Copyright © 2006-2015 Heng Sun.