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 Proc
Fake Proc implementation that represents a completed process.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exitCode
public final int exitCode
FakeLauncher.FinishedProc
public FakeLauncher.FinishedProc(int exitCode)
isAlive
public boolean isAlive()
throws IOException,
InterruptedException
- Specified by:
isAlive in class Proc
- Throws:
IOException
InterruptedException
kill
public void kill()
throws IOException,
InterruptedException
- Specified by:
kill in class Proc
- Throws:
IOException
InterruptedException
join
public int join()
throws IOException,
InterruptedException
- Specified by:
join in class Proc
- Throws:
IOException
InterruptedException
getStdout
public InputStream getStdout()
- Specified by:
getStdout in class Proc
getStderr
public InputStream getStderr()
- Specified by:
getStderr in class Proc
getStdin
public OutputStream getStdin()
- Specified by:
getStdin in class Proc
Copyright © 2004-2011. All Rights Reserved.