net.objectlab.qalab.m2
Class BuildStatMergeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.objectlab.qalab.m2.BuildStatMergeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CheckstyleStatMergeMojo, CoberturaBranchStatMergeMojo, CoberturaLineStatMergeMojo, CPDStatMergeMojo, FindBugsStatMergeMojo, PMDStatMergeMojo, SimianStatMergeMojo

public class BuildStatMergeMojo
extends org.apache.maven.plugin.AbstractMojo

Goal that handles the merge of statistics into qalab.xml.

Author:
Dave Sag.

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BuildStatMergeMojo()
           
 
Method Summary
 void execute()
          Method invoked by the ant framework to execute the action associated with this task.
 java.lang.String getExporterClassName()
           
 java.lang.String getHandler()
           
 java.io.File getInputFile()
           
 java.lang.String getMergerTimeStamp()
           
 java.io.File getOutputFile()
           
 java.io.File getPropertiesFile()
           
 java.lang.String getSrcDir()
           
 java.util.Properties getTheProperties()
           
 boolean isQuiet()
           
 void setExporterClassName(java.lang.String exporterClassName)
           
 void setHandler(java.lang.String handler)
           
 void setInputFile(java.io.File inputFile)
           
 void setMergerTimeStamp(java.lang.String mergerTimeStamp)
           
 void setOutputFile(java.io.File outputFile)
           
 void setPropertiesFile(java.io.File propertiesFile)
           
 void setQuiet(boolean quiet)
           
 void setSrcDir(java.lang.String srcDir)
           
 void setTheProperties(java.util.Properties theProperties)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStatMergeMojo

public BuildStatMergeMojo()
Method Detail

execute

public final void execute()
                   throws org.apache.maven.plugin.MojoExecutionException
Method invoked by the ant framework to execute the action associated with this task. This will validate the input parameters then merge the statistics.

Throws:
org.apache.maven.plugin.MojoExecutionException - if anything goes wrong.

getExporterClassName

public java.lang.String getExporterClassName()

setExporterClassName

public void setExporterClassName(java.lang.String exporterClassName)

getHandler

public java.lang.String getHandler()

setHandler

public void setHandler(java.lang.String handler)

getInputFile

public java.io.File getInputFile()

setInputFile

public void setInputFile(java.io.File inputFile)

getMergerTimeStamp

public java.lang.String getMergerTimeStamp()

setMergerTimeStamp

public void setMergerTimeStamp(java.lang.String mergerTimeStamp)

getOutputFile

public java.io.File getOutputFile()

setOutputFile

public void setOutputFile(java.io.File outputFile)

getPropertiesFile

public java.io.File getPropertiesFile()

setPropertiesFile

public void setPropertiesFile(java.io.File propertiesFile)

isQuiet

public boolean isQuiet()

setQuiet

public void setQuiet(boolean quiet)

getSrcDir

public java.lang.String getSrcDir()

setSrcDir

public void setSrcDir(java.lang.String srcDir)

getTheProperties

public java.util.Properties getTheProperties()

setTheProperties

public void setTheProperties(java.util.Properties theProperties)


Copyright © 2005-2006 ObjectLab Financial Ltd. All Rights Reserved.