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 Proc

Fake Proc implementation that represents a completed process.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Proc
Proc.LocalProc, Proc.RemoteProc
 
Field Summary
 int exitCode
           
 
Fields inherited from class hudson.Proc
SHOW_PID
 
Constructor Summary
FakeLauncher.FinishedProc(int exitCode)
           
 
Method Summary
 boolean isAlive()
           
 int join()
           
 void kill()
           
 
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 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


Copyright © 2010. All Rights Reserved.