|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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 commandMethod Detail |
---|
public boolean Setup(java.util.List<java.lang.String> Command)
ProcessController
Setup
in interface ProcessController
Command
- the command
public ProcessStatus getStatus()
ProcessController
getStatus
in interface ProcessController
public long getSubmissionTime()
ProcessController
getSubmissionTime
in interface ProcessController
public java.io.InputStream getStderrFile()
ProcessController
getStderrFile
in interface ProcessController
public java.io.InputStream getStdoutFile()
ProcessController
getStdoutFile
in interface ProcessController
public boolean submit()
ProcessController
submit
in interface ProcessController
public boolean destroy()
ProcessController
destroy
in interface ProcessController
public void controlJob(ProcessControlAction Action)
ProcessController
controlJob
in interface ProcessController
Action
- the actionpublic java.lang.Process getProcess()
ProcessController
getProcess
in interface ProcessController
public int waitFor() throws java.lang.InterruptedException
ProcessController
waitFor
in interface ProcessController
java.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 |