hudson.plugins.testabilityexplorer.publisher
Class FreestylePublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.plugins.testabilityexplorer.publisher.AbstractPublisherImpl
hudson.plugins.testabilityexplorer.publisher.FreestylePublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, ExtractAndBuildDelegate, hudson.tasks.BuildStep
public class FreestylePublisher
- extends AbstractPublisherImpl
Main publisher class. Expects two values from the GUI which are mapped by the Stapler framework.
- Author:
- reik.schatz
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
|
Field Summary |
static hudson.model.Descriptor |
DESCRIPTOR
|
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
FreestylePublisher(java.lang.String reportFilenamePattern,
java.lang.String threshold,
java.lang.String perClassThreshold)
|
| Methods inherited from class hudson.tasks.Publisher |
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.tasks.BuildStep |
getProjectAction |
DESCRIPTOR
public static final hudson.model.Descriptor DESCRIPTOR
FreestylePublisher
@DataBoundConstructor
public FreestylePublisher(java.lang.String reportFilenamePattern,
java.lang.String threshold,
java.lang.String perClassThreshold)
toInt
protected int toInt(java.lang.String value,
int defaultValue)
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()
- Returns the current threshold for which the build will
become unstable 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
getDescriptor
public hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.Project project)
- Overrides:
getProjectAction in class hudson.tasks.Publisher
Copyright © 2009. All Rights Reserved.