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
Fake Proc implementation that represents a completed process.
| Nested classes/interfaces inherited from class hudson.Proc |
hudson.Proc.LocalProc, hudson.Proc.RemoteProc |
| Fields inherited from class hudson.Proc |
SHOW_PID |
| Methods inherited from class hudson.Proc |
joinWithTimeout |
| 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 hudson.Proc
- Throws:
IOException
InterruptedException
kill
public void kill()
throws IOException,
InterruptedException
- Specified by:
kill in class hudson.Proc
- Throws:
IOException
InterruptedException
join
public int join()
throws IOException,
InterruptedException
- Specified by:
join in class hudson.Proc
- Throws:
IOException
InterruptedException
getStdout
public InputStream getStdout()
- Specified by:
getStdout in class hudson.Proc
getStderr
public InputStream getStderr()
- Specified by:
getStderr in class hudson.Proc
getStdin
public OutputStream getStdin()
- Specified by:
getStdin in class hudson.Proc
Copyright © 2004-2012. All Rights Reserved.