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.Proc
FakeProc
implementation that represents a completed process.
-
-
Field Summary
Fields Modifier and Type Field Description int
exitCode
-
Constructor Summary
Constructors Constructor Description FinishedProc(int exitCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getStderr()
OutputStream
getStdin()
InputStream
getStdout()
boolean
isAlive()
int
join()
void
kill()
-
-
-
Method Detail
-
isAlive
public boolean isAlive() throws IOException, InterruptedException
- Specified by:
isAlive
in classhudson.Proc
- Throws:
IOException
InterruptedException
-
kill
public void kill() throws IOException, InterruptedException
- Specified by:
kill
in classhudson.Proc
- Throws:
IOException
InterruptedException
-
join
public int join() throws IOException, InterruptedException
- Specified by:
join
in classhudson.Proc
- Throws:
IOException
InterruptedException
-
getStdout
public InputStream getStdout()
- Specified by:
getStdout
in classhudson.Proc
-
getStderr
public InputStream getStderr()
- Specified by:
getStderr
in classhudson.Proc
-
getStdin
public OutputStream getStdin()
- Specified by:
getStdin
in classhudson.Proc
-
-