hudson.plugins.testabilityexplorer.publisher
Class MavenPublisher

java.lang.Object
  extended by hudson.maven.MavenReporter
      extended by hudson.plugins.testabilityexplorer.publisher.AbstractMavenReporterImpl
          extended by hudson.plugins.testabilityexplorer.publisher.MavenPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.maven.MavenReporter>, ExtractAndBuildDelegate, java.io.Serializable

public class MavenPublisher
extends AbstractMavenReporterImpl

A AbstractMavenReporterImpl that will set up the plugin so that it can be used in M2 projects.

Author:
reik.schatz
See Also:
Serialized Form

Nested Class Summary
static class MavenPublisher.DescriptorImpl
           
 
Field Summary
static MavenPublisher.DescriptorImpl DESCRIPTOR
           
 
Constructor Summary
MavenPublisher(java.lang.String reportFilenamePattern, java.lang.String threshold)
           
 
Method Summary
 hudson.maven.MavenReporterDescriptor getDescriptor()
          
 hudson.model.Action getProjectAction(hudson.maven.MavenModule module)
          
 java.lang.String getReportFilenamePattern()
          Returns the current file pattern to the report files.
 int getThreshold()
          Retunrs the current threshold for which the build will fail if the testability score is above it.
 CostDetailBuilder newDetailBuilder()
           
 ParseDelegate newParseDelegate()
           
 ReportBuilder newReportBuilder()
           
 StatisticsParser newStatisticsParser()
           
 
Methods inherited from class hudson.plugins.testabilityexplorer.publisher.AbstractMavenReporterImpl
postBuild
 
Methods inherited from class hudson.maven.MavenReporter
end, enterModule, getAggregatedProjectAction, leaveModule, postExecute, preBuild, preExecute, reportGenerated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESCRIPTOR

public static final MavenPublisher.DescriptorImpl DESCRIPTOR
Constructor Detail

MavenPublisher

@DataBoundConstructor
public MavenPublisher(java.lang.String reportFilenamePattern,
                                           java.lang.String threshold)
Method Detail

getProjectAction

public hudson.model.Action getProjectAction(hudson.maven.MavenModule module)

Overrides:
getProjectAction in class hudson.maven.MavenReporter

getDescriptor

public hudson.maven.MavenReporterDescriptor getDescriptor()

Specified by:
getDescriptor in interface hudson.model.Describable<hudson.maven.MavenReporter>
Overrides:
getDescriptor in class hudson.maven.MavenReporter

newParseDelegate

public ParseDelegate newParseDelegate()

newStatisticsParser

public StatisticsParser newStatisticsParser()

newDetailBuilder

public CostDetailBuilder newDetailBuilder()

newReportBuilder

public ReportBuilder newReportBuilder()

getReportFilenamePattern

public java.lang.String getReportFilenamePattern()
Returns the current file pattern to the report files.

Returns:
String

getThreshold

public int getThreshold()
Retunrs the current threshold for which the build will fail if the testability score is above it.

Returns:
int


Copyright © 2008. All Rights Reserved.