org.pitest
Class PitMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.pitest.PitMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Goal which runs a coverage mutation report


Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory factory
          Used to look up Artifacts in the remote repository.
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
          Location of the local repository.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PitMojo()
           
PitMojo(GoalStrategy strategy)
           
 
Method Summary
 void execute()
           
 List<String> getAvoidCallsTo()
           
 List<String> getExcludedClasses()
           
 List<String> getExcludedMethods()
           
 org.apache.maven.artifact.factory.ArtifactFactory getFactory()
           
 List<String> getInScopeClasses()
           
 List<String> getJvmArgs()
           
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
           
 int getMaxDependencyDistance()
           
 int getMaxMutationsPerClass()
           
 List<String> getMutators()
           
 List<String> getOutputFormats()
           
 Map<String,org.apache.maven.artifact.Artifact> getPluginArtifactMap()
           
 org.apache.maven.project.MavenProject getProject()
           
 File getReportsDirectory()
           
 List<String> getTargetClasses()
           
 List<String> getTargetTests()
           
 int getThreads()
           
 long getTimeoutConstant()
           
 float getTimeoutFactor()
           
 boolean isIncludeJarFiles()
           
 boolean isMutateStaticInitializers()
           
 boolean isVerbose()
           
 
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
 

Field Detail

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
Location of the local repository.


factory

protected org.apache.maven.artifact.factory.ArtifactFactory factory
Used to look up Artifacts in the remote repository.

Constructor Detail

PitMojo

public PitMojo()

PitMojo

public PitMojo(GoalStrategy strategy)
Method Detail

execute

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

getTargetClasses

public List<String> getTargetClasses()

getTargetTests

public List<String> getTargetTests()

getExcludedMethods

public List<String> getExcludedMethods()

getExcludedClasses

public List<String> getExcludedClasses()

getAvoidCallsTo

public List<String> getAvoidCallsTo()

getInScopeClasses

public List<String> getInScopeClasses()

getReportsDirectory

public File getReportsDirectory()

getMaxDependencyDistance

public int getMaxDependencyDistance()

getThreads

public int getThreads()

isMutateStaticInitializers

public boolean isMutateStaticInitializers()

isIncludeJarFiles

public boolean isIncludeJarFiles()

getMutators

public List<String> getMutators()

getTimeoutFactor

public float getTimeoutFactor()

getTimeoutConstant

public long getTimeoutConstant()

getMaxMutationsPerClass

public int getMaxMutationsPerClass()

getJvmArgs

public List<String> getJvmArgs()

getOutputFormats

public List<String> getOutputFormats()

isVerbose

public boolean isVerbose()

getProject

public org.apache.maven.project.MavenProject getProject()

getPluginArtifactMap

public Map<String,org.apache.maven.artifact.Artifact> getPluginArtifactMap()

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()

getFactory

public org.apache.maven.artifact.factory.ArtifactFactory getFactory()


Copyright © 2011. All Rights Reserved.