hudson.plugins.fitnesse
Class FitnesseBuilder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by hudson.plugins.fitnesse.FitnesseBuilder
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class FitnesseBuilder
extends hudson.tasks.Builder

Execute fitnesse tests, either by starting a new fitnesse instance or by using a fitnesse instance running elsewhere.

Author:
Tim Bacon

Nested Class Summary
static class FitnesseBuilder.DescriptorImpl
          See src/main/resources/hudson/plugins/fitnesse/FitnesseBuilder/config.jelly
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String FITNESSE_ADDITIONAL_OPTIONS
           
static String FITNESSE_HOST
           
static String FITNESSE_PORT
           
static String FITNESSE_PORT_LOCAL
           
static String FITNESSE_PORT_REMOTE
           
static String HTTP_TIMEOUT
           
static String JAVA_OPTS
           
static String JAVA_WORKING_DIRECTORY
           
static String PATH_TO_JAR
           
static String PATH_TO_RESULTS
           
static String PATH_TO_ROOT
           
static String START_FITNESSE
           
static String TARGET_IS_SUITE
           
static String TARGET_PAGE
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
FitnesseBuilder(Map<String,String> options)
           
 
Method Summary
 String getAdditionalFitnesseOptions()
          referenced in config.jelly Defaults to empty string
 FitnesseBuilder.DescriptorImpl getDescriptor()
          Builder
 String getFitnesseHost()
          referenced in config.jelly
 int getFitnesseHttpTimeout()
          referenced in config.jelly
 String getFitnesseJavaOpts()
          referenced in config.jelly
 String getFitnesseJavaWorkingDirectory()
          referenced in config.jelly
 String getFitnessePathToJar()
          referenced in config.jelly
 String getFitnessePathToRoot()
          referenced in config.jelly
 String getFitnessePathToXmlResultsOut()
          referenced in config.jelly
 int getFitnessePort()
          referenced in config.jelly
 boolean getFitnesseStart()
          referenced in config.jelly
 boolean getFitnesseTargetIsSuite()
          referenced in config.jelly
 String getFitnesseTargetPage()
          referenced in config.jelly
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Builder
 
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Field Detail

START_FITNESSE

public static final String START_FITNESSE
See Also:
Constant Field Values

FITNESSE_HOST

public static final String FITNESSE_HOST
See Also:
Constant Field Values

FITNESSE_PORT

public static final String FITNESSE_PORT
See Also:
Constant Field Values

FITNESSE_PORT_REMOTE

public static final String FITNESSE_PORT_REMOTE
See Also:
Constant Field Values

FITNESSE_PORT_LOCAL

public static final String FITNESSE_PORT_LOCAL
See Also:
Constant Field Values

FITNESSE_ADDITIONAL_OPTIONS

public static final String FITNESSE_ADDITIONAL_OPTIONS
See Also:
Constant Field Values

JAVA_OPTS

public static final String JAVA_OPTS
See Also:
Constant Field Values

PATH_TO_JAR

public static final String PATH_TO_JAR
See Also:
Constant Field Values

PATH_TO_ROOT

public static final String PATH_TO_ROOT
See Also:
Constant Field Values

TARGET_PAGE

public static final String TARGET_PAGE
See Also:
Constant Field Values

TARGET_IS_SUITE

public static final String TARGET_IS_SUITE
See Also:
Constant Field Values

PATH_TO_RESULTS

public static final String PATH_TO_RESULTS
See Also:
Constant Field Values

HTTP_TIMEOUT

public static final String HTTP_TIMEOUT
See Also:
Constant Field Values

JAVA_WORKING_DIRECTORY

public static final String JAVA_WORKING_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

FitnesseBuilder

@DataBoundConstructor
public FitnesseBuilder(Map<String,String> options)
Method Detail

getFitnesseStart

public boolean getFitnesseStart()
referenced in config.jelly


getFitnesseHost

public String getFitnesseHost()
referenced in config.jelly


getFitnesseJavaOpts

public String getFitnesseJavaOpts()
referenced in config.jelly


getFitnesseJavaWorkingDirectory

public String getFitnesseJavaWorkingDirectory()
referenced in config.jelly


getFitnessePort

public int getFitnessePort()
referenced in config.jelly


getFitnessePathToJar

public String getFitnessePathToJar()
referenced in config.jelly


getAdditionalFitnesseOptions

public String getAdditionalFitnesseOptions()
referenced in config.jelly Defaults to empty string


getFitnessePathToRoot

public String getFitnessePathToRoot()
referenced in config.jelly


getFitnesseTargetPage

public String getFitnesseTargetPage()
referenced in config.jelly


getFitnesseTargetIsSuite

public boolean getFitnesseTargetIsSuite()
referenced in config.jelly


getFitnessePathToXmlResultsOut

public String getFitnessePathToXmlResultsOut()
referenced in config.jelly


getFitnesseHttpTimeout

public int getFitnesseHttpTimeout()
referenced in config.jelly


perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws IOException,
                       InterruptedException
Builder

Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
IOException
InterruptedException

getDescriptor

public FitnesseBuilder.DescriptorImpl getDescriptor()
Builder

Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder


Copyright © 2004-2012. All Rights Reserved.