com.pmease.quickbuild.plugin.report.engine.contribution.publisher
Class StatisticsReportPublisher

java.lang.Object
  extended by com.pmease.quickbuild.plugin.report.engine.contribution.publisher.StatisticsReportPublisher
All Implemented Interfaces:
StatisticsSupport

public abstract class StatisticsReportPublisher
extends java.lang.Object
implements StatisticsSupport


Constructor Summary
StatisticsReportPublisher()
           
 
Method Summary
protected  void afterPublish(Build build)
           
protected  void beforePublish(Build build)
           
 void cleanupStatistics(Configuration configuration)
           
 void collectStatistics(Build build)
          Collect metrics from specified build to form statistics data.
protected  void doPublish(Build build)
           
protected  java.lang.String[] getBuildReportSets(Build build)
           
protected abstract  ReportCategory getCategory()
           
protected  java.io.File getSourceDir(Build build, java.lang.String reportset)
           
 java.lang.String getStatisticsName()
           
 boolean isApplicable(Build build)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatisticsReportPublisher

public StatisticsReportPublisher()
Method Detail

getCategory

protected abstract ReportCategory getCategory()

isApplicable

public boolean isApplicable(Build build)

getBuildReportSets

protected java.lang.String[] getBuildReportSets(Build build)

cleanupStatistics

public void cleanupStatistics(Configuration configuration)
Specified by:
cleanupStatistics in interface StatisticsSupport

getStatisticsName

public java.lang.String getStatisticsName()
Specified by:
getStatisticsName in interface StatisticsSupport

collectStatistics

public void collectStatistics(Build build)
Description copied from interface: StatisticsSupport
Collect metrics from specified build to form statistics data. This method will always run on server after build finishes.

Specified by:
collectStatistics in interface StatisticsSupport

getSourceDir

protected java.io.File getSourceDir(Build build,
                                    java.lang.String reportset)

doPublish

protected void doPublish(Build build)

beforePublish

protected void beforePublish(Build build)

afterPublish

protected void afterPublish(Build build)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.