hudson.plugins.fitnesse
Class FitnesseExecutor

java.lang.Object
  extended by hudson.plugins.fitnesse.FitnesseExecutor

public class FitnesseExecutor
extends Object

Author:
Tim Bacon

Constructor Summary
FitnesseExecutor(FitnesseBuilder builder, hudson.model.BuildListener listener, hudson.EnvVars envVars)
           
 
Method Summary
 boolean execute(hudson.Launcher launcher, hudson.model.AbstractBuild<?,?> build)
           
 byte[] getHttpBytes(URL pageCmdTarget, hudson.plugins.fitnesse.Resettable timeout, int httpTimeout)
           
 ArrayList<String> getJavaCmd(hudson.FilePath workingDirectory)
           
 boolean isFitnesseStarted(URL fitnessePageURL)
          Detect if fitnesse has started by try to do an HTTP connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnesseExecutor

public FitnesseExecutor(FitnesseBuilder builder,
                        hudson.model.BuildListener listener,
                        hudson.EnvVars envVars)
Method Detail

execute

public boolean execute(hudson.Launcher launcher,
                       hudson.model.AbstractBuild<?,?> build)
                throws InterruptedException
Throws:
InterruptedException

getJavaCmd

public ArrayList<String> getJavaCmd(hudson.FilePath workingDirectory)
                             throws IOException,
                                    InterruptedException
Throws:
IOException
InterruptedException

isFitnesseStarted

public boolean isFitnesseStarted(URL fitnessePageURL)
                          throws InterruptedException
Detect if fitnesse has started by try to do an HTTP connection

Returns:
true if fitnesse has started, false otherwise
Throws:
InterruptedException

getHttpBytes

public byte[] getHttpBytes(URL pageCmdTarget,
                           hudson.plugins.fitnesse.Resettable timeout,
                           int httpTimeout)


Copyright © 2004-2014. All Rights Reserved.