|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbrt.ProcessRunner
public class ProcessRunner
A class to encapsulate the execution of processes.
Field Summary | |
---|---|
static java.lang.String |
ERROR_LOG
The name of the file in which errors will be logged. |
Constructor Summary | |
---|---|
ProcessRunner()
|
Method Summary | |
---|---|
static FatalException |
interpret(java.lang.Throwable t)
Interprets the provided throwable. |
void |
run(ManagerInput<java.lang.String,java.lang.String> processInput,
java.io.OutputStream out)
Executes the process specified in the provided process manager input. |
void |
run(ManagerInput<java.lang.String,java.lang.String> processInput,
java.io.PrintStream out)
Executes the process specified in the provided process manager input. |
void |
run(ManagerInput<java.lang.String,java.lang.String> processInput,
java.io.PrintWriter out)
Executes the process specified in the provided process manager input. |
void |
run(java.lang.String processFileName,
java.io.OutputStream out)
Executes the process specified in the indicated process file. |
void |
run(java.lang.String processFileName,
java.io.PrintStream out)
Executes the process specified in the indicated process file. |
void |
run(java.lang.String processFileName,
java.io.PrintWriter out)
Executes the process specified in the indicated process file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ERROR_LOG
Constructor Detail |
---|
public ProcessRunner()
Method Detail |
---|
public void run(java.lang.String processFileName, java.io.PrintWriter out)
processFileName
- the name of the process file.out
- the object to which informative messages will be written.public void run(java.lang.String processFileName, java.io.OutputStream out)
processFileName
- the name of the process file.out
- the object to which informative messages will be written.public void run(java.lang.String processFileName, java.io.PrintStream out)
processFileName
- the name of the process file.out
- the object to which informative messages will be written.public void run(ManagerInput<java.lang.String,java.lang.String> processInput, java.io.OutputStream out)
processInput
- the input for the process to be executed.out
- the object to which informative messages will be written.public void run(ManagerInput<java.lang.String,java.lang.String> processInput, java.io.PrintStream out)
processInput
- the input for the process to be executed.out
- the object to which informative messages will be written.public void run(ManagerInput<java.lang.String,java.lang.String> processInput, java.io.PrintWriter out)
processInput
- the input for the process to be executed.out
- the object to which informative messages will be written.
FatalException
- if a fatal error is detected during process execution.public static FatalException interpret(java.lang.Throwable t)
t
- an object thrown by the SBRT.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |