ch.hortis.sonar.mvn.reports
Class CloverHandler

java.lang.Object
  extended by ch.hortis.sonar.mvn.reports.ReportHandler
      extended by ch.hortis.sonar.mvn.reports.CloverHandler

public class CloverHandler
extends ReportHandler


Constructor Summary
CloverHandler()
           
 
Method Summary
 void configurePlugin(org.apache.maven.project.MavenProject pom, org.apache.maven.model.Plugin plugin)
           
 boolean execute(org.apache.maven.project.MavenProject pom, org.apache.maven.plugin.logging.Log log)
           
 boolean executeEvenIfNoJavaSources()
           
 boolean executeEvenIfNoJavaTests()
           
static java.io.File getCloverLicense(org.apache.maven.project.MavenProject pom)
           
 java.util.List<java.lang.String> getGoals()
           
static boolean isLicenceProvided(org.apache.maven.project.MavenProject pom)
           
 boolean mustFailOnError()
           
 
Methods inherited from class ch.hortis.sonar.mvn.reports.ReportHandler
createPluginWithConfiguration, definePlugin, getCommands, getReport, preparePom, setConfigParameter, setConfigParameterIfNotAlreadySet, setReport, unsetConfigParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloverHandler

public CloverHandler()
Method Detail

configurePlugin

public void configurePlugin(org.apache.maven.project.MavenProject pom,
                            org.apache.maven.model.Plugin plugin)
Specified by:
configurePlugin in class ReportHandler

execute

public boolean execute(org.apache.maven.project.MavenProject pom,
                       org.apache.maven.plugin.logging.Log log)
Overrides:
execute in class ReportHandler

isLicenceProvided

public static boolean isLicenceProvided(org.apache.maven.project.MavenProject pom)

getCloverLicense

public static java.io.File getCloverLicense(org.apache.maven.project.MavenProject pom)

getGoals

public java.util.List<java.lang.String> getGoals()
Specified by:
getGoals in class ReportHandler

mustFailOnError

public boolean mustFailOnError()
Specified by:
mustFailOnError in class ReportHandler

executeEvenIfNoJavaSources

public boolean executeEvenIfNoJavaSources()
Overrides:
executeEvenIfNoJavaSources in class ReportHandler

executeEvenIfNoJavaTests

public boolean executeEvenIfNoJavaTests()
Overrides:
executeEvenIfNoJavaTests in class ReportHandler


Copyright © 2007-2008 hortis. All Rights Reserved.