com.atlassian.maven.plugin.clover
Class CloverOptimizerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
          extended by com.atlassian.maven.plugin.clover.CloverOptimizerMojo
All Implemented Interfaces:
CloverConfiguration, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
CloverIntegrationOptimizerMojo

public class CloverOptimizerMojo
extends AbstractCloverMojo

Sets the 'test' property on the project which is used by the maven-surefire-plugin to determine which tests are run. If a snapshot file from a previous build, is found, that will be used to determine what tests should be run.


Field Summary
 
Fields inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
cloverOutputDirectory, debug, license, licenseLocation, skip, snapshot
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CloverOptimizerMojo()
           
 
Method Summary
protected  List<org.apache.tools.ant.types.Resource> configureOptimisedTestSet(org.apache.tools.ant.Project antProj)
           
 void execute()
          
protected  List<String> extractNestedStrings(String elementName, org.apache.maven.model.Plugin surefirePlugin)
           
 
Methods inherited from class com.atlassian.maven.plugin.clover.internal.AbstractCloverMojo
areCloverDatabasesAvailable, getCloverDatabase, getCloverMergeDatabase, getDescendentModuleProjects, getFlushInterval, getModuleProjects, getProject, getReactorProjects, getResourceAsFile, getResourceManager, getWaitForFlush, isLastProjectInReactor, isModuleOfProject, isSingleCloverDatabase, registerCloverAntTasks, registerLicenseFile, registerLicenseFile, resolveCloverDatabase, setLicense, 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
 
Methods inherited from interface com.atlassian.maven.plugin.clover.internal.CloverConfiguration
getLog
 

Constructor Detail

CloverOptimizerMojo

public CloverOptimizerMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Description copied from class: AbstractCloverMojo

Specified by:
execute in interface org.apache.maven.plugin.Mojo
Overrides:
execute in class AbstractCloverMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
Mojo.execute()

configureOptimisedTestSet

protected List<org.apache.tools.ant.types.Resource> configureOptimisedTestSet(org.apache.tools.ant.Project antProj)

extractNestedStrings

protected List<String> extractNestedStrings(String elementName,
                                            org.apache.maven.model.Plugin surefirePlugin)


Copyright © 2014 Atlassian Pty Ltd. All Rights Reserved.