hudson.plugins.testabilityexplorer.publisher
Class MavenPublisher
java.lang.Object
hudson.maven.MavenReporter
hudson.plugins.testabilityexplorer.publisher.AbstractMavenReporterImpl
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
|
Constructor Summary |
MavenPublisher(java.lang.String reportFilenamePattern,
java.lang.String threshold,
java.lang.String perClassThreshold)
|
| 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 |
DESCRIPTOR
public static final MavenPublisher.DescriptorImpl DESCRIPTOR
MavenPublisher
@DataBoundConstructor
public MavenPublisher(java.lang.String reportFilenamePattern,
java.lang.String threshold,
java.lang.String perClassThreshold)
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
getPerClassThreshold
public int getPerClassThreshold()
- Returns the current threshold, for which the build will
become unstable if the testability score is above it, on a
per class basis.
- Returns:
- int
Copyright © 2009. All Rights Reserved.