net.objectlab.qalab.m2
Class QALabStatAllMergeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net.objectlab.qalab.m2.QALabStatAllMergeMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Use this goal to merge all available statistics, easiest use, supported: Checkstyle, PMD, PMD CPD, Simian, FindBugs, Cobertua Line and Cobertura Branch; it should not require any tailoring if you are using the Maven default for all those reports.

Author:
Benoit Xhenseval

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
QALabStatAllMergeMojo()
           
 
Method Summary
 void execute()
          Method invoked by the Maven framework to execute the action associated with this task.
 java.lang.String getCheckstyleHandler()
           
 java.io.File getCheckstyleInputFile()
           
 java.lang.String getCoberturaBranchHandler()
           
 java.io.File getCoberturaInputFile()
           
 java.lang.String getCoberturaLineHandler()
           
 java.lang.String getExporterClassName()
           
 java.lang.String getFindbugsHandler()
           
 java.io.File getFindbugsInputFile()
           
 java.io.File getInputFile()
           
 java.lang.String getMergerTimeStamp()
           
 java.io.File getOutputFile()
           
 java.lang.String getPmdCpdHandler()
           
 java.io.File getPmdCpdInputFile()
           
 java.lang.String getPmdHandler()
           
 java.io.File getPmdInputFile()
           
 java.io.File getPropertiesFile()
           
 java.lang.String getSimianHandler()
           
 java.io.File getSimianInputFile()
           
 java.lang.String getSrcDir()
           
 java.util.Properties getTheProperties()
           
 boolean isDateOnly()
           
 boolean isQuiet()
           
 void setCheckstyleHandler(java.lang.String checkstyleHandler)
           
 void setCheckstyleInputFile(java.io.File checkstyleInputFile)
           
 void setCoberturaBranchHandler(java.lang.String coberturaBranchHandler)
           
 void setCoberturaInputFile(java.io.File coberturaInputFile)
           
 void setCoberturaLineHandler(java.lang.String coberturaLineHandler)
           
 void setDateOnly(boolean dateOnly)
           
 void setExporterClassName(java.lang.String exporterClassName)
           
 void setFindbugsHandler(java.lang.String findbugsHandler)
           
 void setFindbugsInputFile(java.io.File findbugsInputFile)
           
 void setInputFile(java.io.File inputFile)
           
 void setMergerTimeStamp(java.lang.String mergerTimeStamp)
           
 void setOutputFile(java.io.File outputFile)
           
 void setPmdCpdHandler(java.lang.String pmdCpdHandler)
           
 void setPmdCpdInputFile(java.io.File pmdCpdInputFile)
           
 void setPmdHandler(java.lang.String pmdHandler)
           
 void setPmdInputFile(java.io.File pmdInputFile)
           
 void setPropertiesFile(java.io.File propertiesFile)
           
 void setQuiet(boolean quiet)
           
 void setSimianHandler(java.lang.String simianHandler)
           
 void setSimianInputFile(java.io.File simianInputFile)
           
 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

QALabStatAllMergeMojo

public QALabStatAllMergeMojo()
Method Detail

execute

public final void execute()
                   throws org.apache.maven.plugin.MojoExecutionException
Method invoked by the Maven 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)

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)

getCheckstyleHandler

public java.lang.String getCheckstyleHandler()
Returns:
the checkstyleHandler

setCheckstyleHandler

public void setCheckstyleHandler(java.lang.String checkstyleHandler)
Parameters:
checkstyleHandler - the checkstyleHandler to set

getCheckstyleInputFile

public java.io.File getCheckstyleInputFile()
Returns:
the checkstyleInputFile

setCheckstyleInputFile

public void setCheckstyleInputFile(java.io.File checkstyleInputFile)
Parameters:
checkstyleInputFile - the checkstyleInputFile to set

getCoberturaBranchHandler

public java.lang.String getCoberturaBranchHandler()
Returns:
the coberturaBranchHandler

setCoberturaBranchHandler

public void setCoberturaBranchHandler(java.lang.String coberturaBranchHandler)
Parameters:
coberturaBranchHandler - the coberturaBranchHandler to set

getCoberturaInputFile

public java.io.File getCoberturaInputFile()
Returns:
the coberturaInputFile

setCoberturaInputFile

public void setCoberturaInputFile(java.io.File coberturaInputFile)
Parameters:
coberturaInputFile - the coberturaInputFile to set

getCoberturaLineHandler

public java.lang.String getCoberturaLineHandler()
Returns:
the coberturaLineHandler

setCoberturaLineHandler

public void setCoberturaLineHandler(java.lang.String coberturaLineHandler)
Parameters:
coberturaLineHandler - the coberturaLineHandler to set

isDateOnly

public boolean isDateOnly()
Returns:
the dateOnly

setDateOnly

public void setDateOnly(boolean dateOnly)
Parameters:
dateOnly - the dateOnly to set

getFindbugsHandler

public java.lang.String getFindbugsHandler()
Returns:
the findbugsHandler

setFindbugsHandler

public void setFindbugsHandler(java.lang.String findbugsHandler)
Parameters:
findbugsHandler - the findbugsHandler to set

getFindbugsInputFile

public java.io.File getFindbugsInputFile()
Returns:
the findbugsInputFile

setFindbugsInputFile

public void setFindbugsInputFile(java.io.File findbugsInputFile)
Parameters:
findbugsInputFile - the findbugsInputFile to set

getPmdCpdHandler

public java.lang.String getPmdCpdHandler()
Returns:
the pmdCpdHandler

setPmdCpdHandler

public void setPmdCpdHandler(java.lang.String pmdCpdHandler)
Parameters:
pmdCpdHandler - the pmdCpdHandler to set

getPmdCpdInputFile

public java.io.File getPmdCpdInputFile()
Returns:
the pmdCpdInputFile

setPmdCpdInputFile

public void setPmdCpdInputFile(java.io.File pmdCpdInputFile)
Parameters:
pmdCpdInputFile - the pmdCpdInputFile to set

getPmdHandler

public java.lang.String getPmdHandler()
Returns:
the pmdHandler

setPmdHandler

public void setPmdHandler(java.lang.String pmdHandler)
Parameters:
pmdHandler - the pmdHandler to set

getPmdInputFile

public java.io.File getPmdInputFile()
Returns:
the pmdInputFile

setPmdInputFile

public void setPmdInputFile(java.io.File pmdInputFile)
Parameters:
pmdInputFile - the pmdInputFile to set

getSimianHandler

public java.lang.String getSimianHandler()
Returns:
the simianHandler

setSimianHandler

public void setSimianHandler(java.lang.String simianHandler)
Parameters:
simianHandler - the simianHandler to set

getSimianInputFile

public java.io.File getSimianInputFile()
Returns:
the simianInputFile

setSimianInputFile

public void setSimianInputFile(java.io.File simianInputFile)
Parameters:
simianInputFile - the simianInputFile to set


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