hudson.plugins.testabilityexplorer.publisher
Class FreestylePublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.plugins.testabilityexplorer.publisher.AbstractPublisherImpl
              extended by 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 Class Summary
 
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)
           
 
Method Summary
 hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
           
 hudson.model.Action getProjectAction(hudson.model.Project project)
           
 java.lang.String getReportFilenamePattern()
           
 int getThreshold()
           
 CostDetailBuilder newDetailBuilder()
           
 ParseDelegate newParseDelegate()
           
 ReportBuilder newReportBuilder()
           
 StatisticsParser newStatisticsParser()
           
protected  int toInt(java.lang.String value, int defaultValue)
           
 
Methods inherited from class hudson.plugins.testabilityexplorer.publisher.AbstractPublisherImpl
getProject, perform, prebuild
 
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
 

Field Detail

DESCRIPTOR

public static final hudson.model.Descriptor DESCRIPTOR
Constructor Detail

FreestylePublisher

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

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()

getThreshold

public int getThreshold()

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 © 2008. All Rights Reserved.