org.jvnet.hudson.test
Class FakeLauncher.FinishedProc

java.lang.Object
  extended by hudson.Proc
      extended by 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 Class Summary
 
Nested classes/interfaces inherited from class hudson.Proc
hudson.Proc.LocalProc, hudson.Proc.RemoteProc
 
Field Summary
 int exitCode
           
 
Fields inherited from class hudson.Proc
SHOW_PID
 
Constructor Summary
FakeLauncher.FinishedProc(int exitCode)
           
 
Method Summary
 InputStream getStderr()
           
 OutputStream getStdin()
           
 InputStream getStdout()
           
 boolean isAlive()
           
 int join()
           
 void kill()
           
 
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
 

Field Detail

exitCode

public final int exitCode
Constructor Detail

FakeLauncher.FinishedProc

public FakeLauncher.FinishedProc(int exitCode)
Method Detail

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-2014. All Rights Reserved.