hudson.plugins.testabilityexplorer.publisher
Class AbstractPublisherImpl

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.plugins.testabilityexplorer.publisher.AbstractPublisherImpl
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, ExtractAndBuildDelegate, hudson.tasks.BuildStep
Direct Known Subclasses:
FreestylePublisher

public abstract class AbstractPublisherImpl
extends hudson.tasks.Publisher
implements ExtractAndBuildDelegate

Performs the actual work to go into the reports, do some parsing and flag the build as being success or not. The Publisher uses the given BuildProxy to perform the work for him using whatever is implemented as ParseDelegate, StatisticsParser and ReportBuilder.

Author:
reik.schatz

Nested Class Summary
 
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
AbstractPublisherImpl()
           
 
Method Summary
protected  hudson.model.AbstractProject getProject(hudson.model.AbstractBuild build)
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean prebuild(hudson.model.AbstractBuild build, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.plugins.testabilityexplorer.publisher.ExtractAndBuildDelegate
newDetailBuilder, newParseDelegate, newReportBuilder, newStatisticsParser
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction
 
Methods inherited from interface hudson.model.Describable
getDescriptor
 

Constructor Detail

AbstractPublisherImpl

public AbstractPublisherImpl()
Method Detail

perform

public boolean perform(hudson.model.AbstractBuild build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException

getProject

protected hudson.model.AbstractProject getProject(hudson.model.AbstractBuild build)

prebuild

public boolean prebuild(hudson.model.AbstractBuild build,
                        hudson.model.BuildListener listener)
Specified by:
prebuild in interface hudson.tasks.BuildStep
Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer


Copyright © 2009. All Rights Reserved.