|
JDeveloper SCM API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to wrappers for shell processes. Instances are returned by the shell runner for control over and feedback from the running process.
Method Summary | |
void |
destroy()
Forcefully terminates the process. |
java.io.InputStream |
getErrorStream()
Gets the error stream of the subprocess. |
java.lang.String |
getErrorText()
Gets all text sent to standard error from the process. |
java.lang.Integer |
getExitCode()
Gets the exit code from the process. |
long |
getIdleTimeElapsed()
Gets the approximate idle time elapsed since the command was executed. |
java.io.InputStream |
getInputStream()
Gets the input stream of the subprocess. |
java.io.OutputStream |
getOutputStream()
Gets the output stream of the subprocess. |
java.lang.String |
getOutputText()
Gets all text sent to standard out from the process. |
long |
getTimeElapsed()
Gets the approximate time elapsed since the command was executed. |
boolean |
isFinished()
Asks whether the process has terminated. |
boolean |
isTimedOut()
Asks whether the process timed out. |
void |
sendInputData(java.lang.String data)
Sends the given data as input to the process. |
SCMProcess |
waitFor()
Waits, or blocks, until the process terminates. |
Method Detail |
public boolean isFinished()
public SCMProcess waitFor()
public java.io.InputStream getErrorStream()
public java.io.InputStream getInputStream()
public java.io.OutputStream getOutputStream()
public java.lang.String getOutputText()
public java.lang.String getErrorText()
public java.lang.Integer getExitCode()
public long getTimeElapsed()
public long getIdleTimeElapsed()
public boolean isTimedOut()
public void sendInputData(java.lang.String data)
data
- the textual data for writing to the process's outpuut stream.public void destroy()
|
Copyright © 2002 Oracle Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |