uk.co.concise.maven
Class HistoricalDataCollector

java.lang.Object
  extended by uk.co.concise.maven.hdc.HibernatePlugin
      extended by uk.co.concise.maven.HistoricalDataCollector

public class HistoricalDataCollector
extends HibernatePlugin

Collects historical data from build result files.

Author:
martenssonb

Constructor Summary
HistoricalDataCollector()
           
 
Method Summary
 java.lang.String getBuildResultFile()
          Returns the file that contains build results to be collected.
 java.lang.String getHeading()
          The heading for the chart.
 java.lang.String getLabelsToTrackXPath()
          The XPath to the labels of the values that we track over time.
 java.lang.String getValuesToTrackXPath()
          Returns the XPath to the value that we are tracking over time.
 void run()
          Called from Maven.
 void setBuildResultFile(java.lang.String buildResultFile)
          Sets the file that contains build results to be collected.
 void setHeading(java.lang.String heading)
          The heading for the chart.
 void setLabelsToTrackXPath(java.lang.String labelsToTrackXPath)
          The XPath to the labels of the values that we track over time.
 void setValuesToTrackXPath(java.lang.String valueToTrackXPath)
          Sets the XPath to the value that we are tracking over time.
 
Methods inherited from class uk.co.concise.maven.hdc.HibernatePlugin
configure, getDbDriverClass, getDbHibernateDialect, getDbPass, getDbUrl, getDbUser, setDbDriverClass, setDbHibernateDialect, setDbPass, setDbUrl, setDbUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoricalDataCollector

public HistoricalDataCollector()
Method Detail

run

public void run()
         throws java.lang.Exception
Called from Maven.

Throws:
java.lang.Exception - for Maven to handle.

getBuildResultFile

public java.lang.String getBuildResultFile()
Returns the file that contains build results to be collected.

Returns:
Returns the buildResultFile.

setBuildResultFile

public void setBuildResultFile(java.lang.String buildResultFile)
Sets the file that contains build results to be collected.

Parameters:
buildResultFile - The buildResultFile to set.

getValuesToTrackXPath

public java.lang.String getValuesToTrackXPath()
Returns the XPath to the value that we are tracking over time. This should be an XPath to one or more text nodes containing the value that should be tracked over time.

Returns:
Returns the valueToTrackXPath.

setValuesToTrackXPath

public void setValuesToTrackXPath(java.lang.String valueToTrackXPath)
Sets the XPath to the value that we are tracking over time. This should be an XPath to one or more text nodes containing the value that should be tracked over time.

Parameters:
valueToTrackXPath - The valueToTrackXPath to set.

getHeading

public java.lang.String getHeading()
The heading for the chart.

Returns:
Returns the heading.

setHeading

public void setHeading(java.lang.String heading)
The heading for the chart.

Parameters:
heading - The heading to set.

getLabelsToTrackXPath

public java.lang.String getLabelsToTrackXPath()
The XPath to the labels of the values that we track over time.

Returns:
Returns the labelsToTrackXPath.

setLabelsToTrackXPath

public void setLabelsToTrackXPath(java.lang.String labelsToTrackXPath)
The XPath to the labels of the values that we track over time.

Parameters:
labelsToTrackXPath - The labelsToTrackXPath to set.


Copyright © 2004-2005 Concise. All Rights Reserved.