hudson.plugins.fitnesse
Class FitnesseResultsRecorder

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

public class FitnesseResultsRecorder
extends hudson.tasks.Recorder


Nested Class Summary
static class FitnesseResultsRecorder.DescriptorImpl
          See src/main/resources/hudson/plugins/fitnesse/FitnesseResultsRecorder/config.jelly
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
FitnesseResultsRecorder(String fitnessePathToXmlResultsIn)
           
 
Method Summary
 FitnesseResultsRecorder.DescriptorImpl getDescriptor()
          Publisher
 String getFitnessePathToXmlResultsIn()
          referenced in config.jelly
 Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
          Recorder
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
          BuildStep
 hudson.FilePath[] getResultFiles(hudson.FilePath workingDirectory)
           
 FitnesseResults getResults(PrintStream logger, hudson.FilePath resultsFile)
           
 FitnesseResults getResults(PrintStream logger, hudson.FilePath[] resultsFiles)
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          BuildStep
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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, prebuild
 

Constructor Detail

FitnesseResultsRecorder

@DataBoundConstructor
public FitnesseResultsRecorder(String fitnessePathToXmlResultsIn)
Method Detail

getFitnessePathToXmlResultsIn

public String getFitnessePathToXmlResultsIn()
referenced in config.jelly


getProjectActions

public Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
Recorder

Specified by:
getProjectActions in interface hudson.tasks.BuildStep
Overrides:
getProjectActions in class hudson.tasks.BuildStepCompatibilityLayer

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
BuildStep


perform

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

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

getResultFiles

public hudson.FilePath[] getResultFiles(hudson.FilePath workingDirectory)
                                 throws IOException,
                                        InterruptedException
Throws:
IOException
InterruptedException

getResults

public FitnesseResults getResults(PrintStream logger,
                                  hudson.FilePath[] resultsFiles)
                           throws IOException,
                                  TransformerException
Throws:
IOException
TransformerException

getResults

public FitnesseResults getResults(PrintStream logger,
                                  hudson.FilePath resultsFile)
                           throws IOException,
                                  TransformerException
Throws:
IOException
TransformerException

getDescriptor

public FitnesseResultsRecorder.DescriptorImpl getDescriptor()
Publisher

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


Copyright © 2004-2012. All Rights Reserved.