org.pitest
Class PitMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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 |
| 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 |
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.
PitMojo
public PitMojo()
PitMojo
public PitMojo(GoalStrategy strategy)
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.