com.atlassian.maven.plugin.clover
Class CloverCheckMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended bycom.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
          extended bycom.atlassian.maven.plugin.clover.CloverCheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CloverCheckMojo
extends AbstractCloverMojo

Verify Test Percentage Coverage (TPC) from an existing Clover database and fail the build if it is below the defined threshold. The check is done on main Clover databases and also on merged Clover databases when they exist.

Version:
$Id: CloverCheckMojo.java 555822 2007-07-13 00:03:28Z vsiveton $

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CloverCheckMojo()
           
 
Method Summary
 void execute()
          
 
Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getFlushInterval, getFlushPolicy, getJdk, getProject, getResourceManager, getWaitForFlush, registerCloverAntTasks, registerLicenseFile, registerLicenseFile, setLicenseLocation, setProject, setResourceManager, waitForFlush
 
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

CloverCheckMojo

public CloverCheckMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractCloverMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - when the TPC is below the threshold
See Also:
AbstractCloverMojo.execute()


Copyright © 2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.