Package org.jvnet.hudson.test
Class FakeLauncher.FinishedProc
- java.lang.Object
-
- hudson.Proc
-
- org.jvnet.hudson.test.FakeLauncher.FinishedProc
-
- Enclosing interface:
- FakeLauncher
public static class FakeLauncher.FinishedProc extends hudson.ProcFakeProcimplementation that represents a completed process.
-
-
Field Summary
Fields Modifier and Type Field Description intexitCode
-
Constructor Summary
Constructors Constructor Description FinishedProc(int exitCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetStderr()OutputStreamgetStdin()InputStreamgetStdout()booleanisAlive()intjoin()voidkill()
-
-
-
Method Detail
-
isAlive
public boolean isAlive() throws IOException, InterruptedException- Specified by:
isAlivein classhudson.Proc- Throws:
IOExceptionInterruptedException
-
kill
public void kill() throws IOException, InterruptedException- Specified by:
killin classhudson.Proc- Throws:
IOExceptionInterruptedException
-
join
public int join() throws IOException, InterruptedException- Specified by:
joinin classhudson.Proc- Throws:
IOExceptionInterruptedException
-
getStdout
public InputStream getStdout()
- Specified by:
getStdoutin classhudson.Proc
-
getStderr
public InputStream getStderr()
- Specified by:
getStderrin classhudson.Proc
-
getStdin
public OutputStream getStdin()
- Specified by:
getStdinin classhudson.Proc
-
-