|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.processcontrol.ProcessControllerNative
public class ProcessControllerNative
The Class ProcessControllerNative.
| Constructor Summary | |
|---|---|
ProcessControllerNative(java.util.List<java.lang.String> Command)
Instantiates a new process controller native. |
|
| Method Summary | |
|---|---|
void |
controlJob(ProcessControlAction Action)
Control job. |
boolean |
destroy()
Destroy. |
java.lang.Integer |
getExitCode()
Gets the exit code. |
java.lang.Process |
getProcess()
Gets the process. |
ProcessStatus |
getStatus()
Gets the status. |
java.io.InputStream |
getStderrFile()
Gets the stderr file. |
java.io.InputStream |
getStdoutFile()
Gets the stdout file. |
long |
getSubmissionTime()
Gets the submission time. |
boolean |
Setup(java.util.List<java.lang.String> Command)
Setup. |
boolean |
submit()
Submit. |
int |
waitFor()
Wait for. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.jhu.ece.iacl.jist.processcontrol.ProcessController |
|---|
toString |
| Constructor Detail |
|---|
public ProcessControllerNative(java.util.List<java.lang.String> Command)
Command - the command| Method Detail |
|---|
public boolean Setup(java.util.List<java.lang.String> Command)
ProcessController
Setup in interface ProcessControllerCommand - the command
public ProcessStatus getStatus()
ProcessController
getStatus in interface ProcessControllerpublic long getSubmissionTime()
ProcessController
getSubmissionTime in interface ProcessControllerpublic java.io.InputStream getStderrFile()
ProcessController
getStderrFile in interface ProcessControllerpublic java.io.InputStream getStdoutFile()
ProcessController
getStdoutFile in interface ProcessControllerpublic boolean submit()
ProcessController
submit in interface ProcessControllerpublic boolean destroy()
ProcessController
destroy in interface ProcessControllerpublic void controlJob(ProcessControlAction Action)
ProcessController
controlJob in interface ProcessControllerAction - the actionpublic java.lang.Process getProcess()
ProcessController
getProcess in interface ProcessController
public int waitFor()
throws java.lang.InterruptedException
ProcessController
waitFor in interface ProcessControllerjava.lang.InterruptedException - the interrupted exceptionpublic java.lang.Integer getExitCode()
ProcessController
getExitCode in interface ProcessController
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||