org.apache.maven.plugin.surefire
Class SurefirePlugin

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.surefire.AbstractSurefireMojo
          extended by org.apache.maven.plugin.surefire.SurefirePlugin
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, SurefireExecutionParameters, SurefireReportParameters
Direct Known Subclasses:
SurefirePlugin

public class SurefirePlugin
extends AbstractSurefireMojo
implements SurefireReportParameters

Run tests using Surefire.

Version:
$Id: SurefirePlugin.java 1143207 2011-07-05 21:37:57Z pgier $
Author:
Jason van Zyl

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.maven.plugin.surefire.AbstractSurefireMojo
AbstractSurefireMojo.DynamicProviderInfo
 
Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SurefirePlugin()
           
 
Method Summary
protected  void addPluginSpecificChecksumItems(ChecksumCalculator checksum)
           
 List getAdditionalClasspathElements()
           
 String getArgLine()
           
 org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
           
 org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
           
 File getBasedir()
           
 File getClassesDirectory()
           
 List getClasspathDependencyExcludes()
           
 String getClasspathDependencyScopeExclude()
           
 String getDebugForkedProcess()
           
protected  String[] getDefaultIncludes()
           
 Map getEnvironmentVariables()
           
 String getExcludedGroups()
           
 List getExcludes()
           
 Boolean getFailIfNoTests()
           
 int getForkedProcessTimeoutInSeconds()
           
 String getForkMode()
           
 String getGroups()
           
 List getIncludes()
           
 Properties getInternalSystemProperties()
           
 String getJunitArtifactName()
           
 String getJvm()
           
 org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
           
 org.apache.maven.artifact.metadata.ArtifactMetadataSource getMetadataSource()
           
 String getObjectFactory()
           
 Properties getOriginalSystemProperties()
           
 String getParallel()
           
 boolean getPerCoreThreadCount()
           
 Map getPluginArtifactMap()
           
protected  String getPluginName()
           
 org.apache.maven.project.MavenProject getProject()
           
 Map getProjectArtifactMap()
           
 Properties getProperties()
           
 List getRemoteRepositories()
           
 String getReportFormat()
           
 String getReportNameSuffix()
           
 File getReportsDirectory()
           
 String getRunOrder()
           
 org.apache.maven.execution.MavenSession getSession()
           
 File[] getSuiteXmlFiles()
           
 Properties getSystemProperties()
           
 File getSystemPropertiesFile()
           
 Map getSystemPropertyVariables()
           
 String getTest()
           
 File getTestClassesDirectory()
           
 String getTestMethod()
           
 String getTestNGArtifactName()
           
 File getTestSourceDirectory()
           
 int getThreadCount()
           
 org.apache.maven.toolchain.ToolchainManager getToolchainManager()
           
 boolean getUseUnlimitedThreads()
           
 File getWorkingDirectory()
           
protected  void handleSummary(Summary summary)
           
 boolean isChildDelegation()
           
 boolean isDisableXmlReport()
           
 boolean isEnableAssertions()
           
 boolean isMavenParallel()
           
 boolean isPrintSummary()
           
 boolean isRedirectTestOutputToFile()
           
 boolean isSkip()
           
 boolean isSkipExec()
           
protected  boolean isSkipExecution()
           
 boolean isSkipTests()
           
 boolean isTestFailureIgnore()
           
 boolean isTrimStackTrace()
           
 boolean isUseFile()
           
 boolean isUseManifestOnlyJar()
           
 boolean isUseSystemClassLoader()
           
 void setAdditionalClasspathElements(List additionalClasspathElements)
           
 void setArgLine(String argLine)
           
 void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
           
 void setArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
           
 void setBasedir(File basedir)
           
 void setChildDelegation(boolean childDelegation)
           
 void setClassesDirectory(File classesDirectory)
           
 void setClasspathDependencyExcludes(List classpathDependencyExcludes)
           
 void setClasspathDependencyScopeExclude(String classpathDependencyScopeExclude)
           
 void setDebugForkedProcess(String debugForkedProcess)
           
 void setDisableXmlReport(boolean disableXmlReport)
           
 void setEnableAssertions(boolean enableAssertions)
           
 void setEnvironmentVariables(Map environmentVariables)
           
 void setExcludedGroups(String excludedGroups)
           
 void setExcludes(List excludes)
           
 void setFailIfNoTests(Boolean failIfNoTests)
           
 void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
           
 void setForkMode(String forkMode)
           
 void setGroups(String groups)
           
 void setIncludes(List includes)
           
 void setInternalSystemProperties(Properties internalSystemProperties)
           
 void setJunitArtifactName(String junitArtifactName)
           
 void setJvm(String jvm)
           
 void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void setMetadataSource(org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource)
           
 void setObjectFactory(String objectFactory)
           
 void setOriginalSystemProperties(Properties originalSystemProperties)
           
 void setParallel(String parallel)
           
 void setPerCoreThreadCount(boolean perCoreThreadCount)
           
 void setPluginArtifactMap(Map pluginArtifactMap)
           
 void setPrintSummary(boolean printSummary)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setProjectArtifactMap(Map projectArtifactMap)
           
 void setProperties(Properties properties)
           
 void setRedirectTestOutputToFile(boolean redirectTestOutputToFile)
           
 void setRemoteRepositories(List remoteRepositories)
           
 void setReportFormat(String reportFormat)
           
 void setReportNameSuffix(String reportNameSuffix)
           
 void setReportsDirectory(File reportsDirectory)
           
 void setRunOrder(String runOrder)
           
 void setSession(org.apache.maven.execution.MavenSession session)
           
 void setSkip(boolean skip)
           
 void setSkipExec(boolean skipExec)
           
 void setSkipTests(boolean skipTests)
           
 void setSuiteXmlFiles(File[] suiteXmlFiles)
           
 void setSystemProperties(Properties systemProperties)
           
 void setSystemPropertiesFile(File systemPropertiesFile)
           
 void setSystemPropertyVariables(Map systemPropertyVariables)
           
 void setTest(String test)
           
 void setTestClassesDirectory(File testClassesDirectory)
           
 void setTestFailureIgnore(boolean testFailureIgnore)
           
 void setTestNGArtifactName(String testNGArtifactName)
           
 void setTestSourceDirectory(File testSourceDirectory)
           
 void setThreadCount(int threadCount)
           
 void setToolchainManager(org.apache.maven.toolchain.ToolchainManager toolchainManager)
           
 void setTrimStackTrace(boolean trimStackTrace)
           
 void setUseFile(boolean useFile)
           
 void setUseManifestOnlyJar(boolean useManifestOnlyJar)
           
 void setUseSystemClassLoader(boolean useSystemClassLoader)
           
 void setUseUnlimitedThreads(boolean useUnlimitedThreads)
           
 void setWorkingDirectory(File workingDirectory)
           
 
Methods inherited from class org.apache.maven.plugin.surefire.AbstractSurefireMojo
createForkStarter, createInprocessStarter, createProviderConfiguration, createProviders, execute, executeAfterPreconditionsChecked, getClassLoaderConfiguration, getForkConfiguration, hasExecutedBefore, isAnyConcurrencySelected, logReportsDirectory, restoreOriginalSystemPropertiesWhenNotForking
 
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

SurefirePlugin

public SurefirePlugin()
Method Detail

handleSummary

protected void handleSummary(Summary summary)
                      throws org.apache.maven.plugin.MojoExecutionException,
                             org.apache.maven.plugin.MojoFailureException
Specified by:
handleSummary in class AbstractSurefireMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

isSkipExecution

protected boolean isSkipExecution()
Specified by:
isSkipExecution in class AbstractSurefireMojo

getPluginName

protected String getPluginName()
Specified by:
getPluginName in class AbstractSurefireMojo

getDefaultIncludes

protected String[] getDefaultIncludes()
Specified by:
getDefaultIncludes in class AbstractSurefireMojo

isSkipTests

public boolean isSkipTests()
Specified by:
isSkipTests in interface SurefireExecutionParameters
Specified by:
isSkipTests in interface SurefireReportParameters

setSkipTests

public void setSkipTests(boolean skipTests)
Specified by:
setSkipTests in interface SurefireExecutionParameters
Specified by:
setSkipTests in interface SurefireReportParameters

isSkipExec

public boolean isSkipExec()
Specified by:
isSkipExec in interface SurefireExecutionParameters
Specified by:
isSkipExec in interface SurefireReportParameters

setSkipExec

public void setSkipExec(boolean skipExec)
Specified by:
setSkipExec in interface SurefireExecutionParameters
Specified by:
setSkipExec in interface SurefireReportParameters

isSkip

public boolean isSkip()
Specified by:
isSkip in interface SurefireExecutionParameters
Specified by:
isSkip in interface SurefireReportParameters

setSkip

public void setSkip(boolean skip)
Specified by:
setSkip in interface SurefireExecutionParameters
Specified by:
setSkip in interface SurefireReportParameters

isTestFailureIgnore

public boolean isTestFailureIgnore()
Specified by:
isTestFailureIgnore in interface SurefireReportParameters

setTestFailureIgnore

public void setTestFailureIgnore(boolean testFailureIgnore)
Specified by:
setTestFailureIgnore in interface SurefireReportParameters

getBasedir

public File getBasedir()
Specified by:
getBasedir in interface SurefireExecutionParameters
Specified by:
getBasedir in interface SurefireReportParameters

setBasedir

public void setBasedir(File basedir)
Specified by:
setBasedir in interface SurefireExecutionParameters
Specified by:
setBasedir in interface SurefireReportParameters

getTestClassesDirectory

public File getTestClassesDirectory()
Specified by:
getTestClassesDirectory in interface SurefireExecutionParameters
Specified by:
getTestClassesDirectory in interface SurefireReportParameters

setTestClassesDirectory

public void setTestClassesDirectory(File testClassesDirectory)
Specified by:
setTestClassesDirectory in interface SurefireExecutionParameters
Specified by:
setTestClassesDirectory in interface SurefireReportParameters

getClassesDirectory

public File getClassesDirectory()
Specified by:
getClassesDirectory in interface SurefireExecutionParameters

setClassesDirectory

public void setClassesDirectory(File classesDirectory)
Specified by:
setClassesDirectory in interface SurefireExecutionParameters

getProject

public org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in interface SurefireExecutionParameters

setProject

public void setProject(org.apache.maven.project.MavenProject project)
Specified by:
setProject in interface SurefireExecutionParameters

getClasspathDependencyExcludes

public List getClasspathDependencyExcludes()
Specified by:
getClasspathDependencyExcludes in interface SurefireExecutionParameters

setClasspathDependencyExcludes

public void setClasspathDependencyExcludes(List classpathDependencyExcludes)
Specified by:
setClasspathDependencyExcludes in interface SurefireExecutionParameters

getClasspathDependencyScopeExclude

public String getClasspathDependencyScopeExclude()
Specified by:
getClasspathDependencyScopeExclude in interface SurefireExecutionParameters

setClasspathDependencyScopeExclude

public void setClasspathDependencyScopeExclude(String classpathDependencyScopeExclude)
Specified by:
setClasspathDependencyScopeExclude in interface SurefireExecutionParameters

getAdditionalClasspathElements

public List getAdditionalClasspathElements()
Specified by:
getAdditionalClasspathElements in interface SurefireExecutionParameters

setAdditionalClasspathElements

public void setAdditionalClasspathElements(List additionalClasspathElements)
Specified by:
setAdditionalClasspathElements in interface SurefireExecutionParameters

getReportsDirectory

public File getReportsDirectory()
Specified by:
getReportsDirectory in interface SurefireExecutionParameters
Specified by:
getReportsDirectory in interface SurefireReportParameters

setReportsDirectory

public void setReportsDirectory(File reportsDirectory)
Specified by:
setReportsDirectory in interface SurefireExecutionParameters
Specified by:
setReportsDirectory in interface SurefireReportParameters

getTestSourceDirectory

public File getTestSourceDirectory()
Specified by:
getTestSourceDirectory in interface SurefireExecutionParameters

setTestSourceDirectory

public void setTestSourceDirectory(File testSourceDirectory)
Specified by:
setTestSourceDirectory in interface SurefireExecutionParameters

getTest

public String getTest()
Specified by:
getTest in interface SurefireExecutionParameters

getTestMethod

public String getTestMethod()
Specified by:
getTestMethod in interface SurefireExecutionParameters
Since:
2.7.3

setTest

public void setTest(String test)
Specified by:
setTest in interface SurefireExecutionParameters

getIncludes

public List getIncludes()
Specified by:
getIncludes in interface SurefireExecutionParameters

setIncludes

public void setIncludes(List includes)
Specified by:
setIncludes in interface SurefireExecutionParameters

getExcludes

public List getExcludes()
Specified by:
getExcludes in interface SurefireExecutionParameters

setExcludes

public void setExcludes(List excludes)
Specified by:
setExcludes in interface SurefireExecutionParameters

getLocalRepository

public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
Specified by:
getLocalRepository in interface SurefireExecutionParameters

setLocalRepository

public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Specified by:
setLocalRepository in interface SurefireExecutionParameters

getSystemProperties

public Properties getSystemProperties()
Specified by:
getSystemProperties in interface SurefireExecutionParameters

setSystemProperties

public void setSystemProperties(Properties systemProperties)
Specified by:
setSystemProperties in interface SurefireExecutionParameters

getSystemPropertyVariables

public Map getSystemPropertyVariables()
Specified by:
getSystemPropertyVariables in interface SurefireExecutionParameters

setSystemPropertyVariables

public void setSystemPropertyVariables(Map systemPropertyVariables)
Specified by:
setSystemPropertyVariables in interface SurefireExecutionParameters

getSystemPropertiesFile

public File getSystemPropertiesFile()
Specified by:
getSystemPropertiesFile in interface SurefireExecutionParameters

setSystemPropertiesFile

public void setSystemPropertiesFile(File systemPropertiesFile)
Specified by:
setSystemPropertiesFile in interface SurefireExecutionParameters

getProperties

public Properties getProperties()
Specified by:
getProperties in interface SurefireExecutionParameters

setProperties

public void setProperties(Properties properties)
Specified by:
setProperties in interface SurefireExecutionParameters

getPluginArtifactMap

public Map getPluginArtifactMap()
Specified by:
getPluginArtifactMap in interface SurefireExecutionParameters

setPluginArtifactMap

public void setPluginArtifactMap(Map pluginArtifactMap)
Specified by:
setPluginArtifactMap in interface SurefireExecutionParameters

getProjectArtifactMap

public Map getProjectArtifactMap()
Specified by:
getProjectArtifactMap in interface SurefireExecutionParameters

setProjectArtifactMap

public void setProjectArtifactMap(Map projectArtifactMap)
Specified by:
setProjectArtifactMap in interface SurefireExecutionParameters

isPrintSummary

public boolean isPrintSummary()
Specified by:
isPrintSummary in interface SurefireExecutionParameters

setPrintSummary

public void setPrintSummary(boolean printSummary)
Specified by:
setPrintSummary in interface SurefireExecutionParameters

getReportFormat

public String getReportFormat()
Specified by:
getReportFormat in interface SurefireExecutionParameters

setReportFormat

public void setReportFormat(String reportFormat)
Specified by:
setReportFormat in interface SurefireExecutionParameters

getReportNameSuffix

public String getReportNameSuffix()
Specified by:
getReportNameSuffix in interface SurefireExecutionParameters

setReportNameSuffix

public void setReportNameSuffix(String reportNameSuffix)
Specified by:
setReportNameSuffix in interface SurefireExecutionParameters

isUseFile

public boolean isUseFile()
Specified by:
isUseFile in interface SurefireExecutionParameters

setUseFile

public void setUseFile(boolean useFile)
Specified by:
setUseFile in interface SurefireExecutionParameters

isRedirectTestOutputToFile

public boolean isRedirectTestOutputToFile()
Specified by:
isRedirectTestOutputToFile in interface SurefireExecutionParameters

setRedirectTestOutputToFile

public void setRedirectTestOutputToFile(boolean redirectTestOutputToFile)
Specified by:
setRedirectTestOutputToFile in interface SurefireExecutionParameters

getFailIfNoTests

public Boolean getFailIfNoTests()
Specified by:
getFailIfNoTests in interface SurefireExecutionParameters
Specified by:
getFailIfNoTests in interface SurefireReportParameters

setFailIfNoTests

public void setFailIfNoTests(Boolean failIfNoTests)
Specified by:
setFailIfNoTests in interface SurefireExecutionParameters
Specified by:
setFailIfNoTests in interface SurefireReportParameters

getForkMode

public String getForkMode()
Specified by:
getForkMode in interface SurefireExecutionParameters

setForkMode

public void setForkMode(String forkMode)
Specified by:
setForkMode in interface SurefireExecutionParameters

getJvm

public String getJvm()
Specified by:
getJvm in interface SurefireExecutionParameters

setJvm

public void setJvm(String jvm)
Specified by:
setJvm in interface SurefireExecutionParameters

getArgLine

public String getArgLine()
Specified by:
getArgLine in interface SurefireExecutionParameters

setArgLine

public void setArgLine(String argLine)
Specified by:
setArgLine in interface SurefireExecutionParameters

getDebugForkedProcess

public String getDebugForkedProcess()
Specified by:
getDebugForkedProcess in interface SurefireExecutionParameters

setDebugForkedProcess

public void setDebugForkedProcess(String debugForkedProcess)
Specified by:
setDebugForkedProcess in interface SurefireExecutionParameters

getForkedProcessTimeoutInSeconds

public int getForkedProcessTimeoutInSeconds()
Specified by:
getForkedProcessTimeoutInSeconds in interface SurefireExecutionParameters

setForkedProcessTimeoutInSeconds

public void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
Specified by:
setForkedProcessTimeoutInSeconds in interface SurefireExecutionParameters

getEnvironmentVariables

public Map getEnvironmentVariables()
Specified by:
getEnvironmentVariables in interface SurefireExecutionParameters

setEnvironmentVariables

public void setEnvironmentVariables(Map environmentVariables)
Specified by:
setEnvironmentVariables in interface SurefireExecutionParameters

getWorkingDirectory

public File getWorkingDirectory()
Specified by:
getWorkingDirectory in interface SurefireExecutionParameters

setWorkingDirectory

public void setWorkingDirectory(File workingDirectory)
Specified by:
setWorkingDirectory in interface SurefireExecutionParameters

isChildDelegation

public boolean isChildDelegation()
Specified by:
isChildDelegation in interface SurefireExecutionParameters

setChildDelegation

public void setChildDelegation(boolean childDelegation)
Specified by:
setChildDelegation in interface SurefireExecutionParameters

getGroups

public String getGroups()
Specified by:
getGroups in interface SurefireExecutionParameters

setGroups

public void setGroups(String groups)
Specified by:
setGroups in interface SurefireExecutionParameters

getExcludedGroups

public String getExcludedGroups()
Specified by:
getExcludedGroups in interface SurefireExecutionParameters

setExcludedGroups

public void setExcludedGroups(String excludedGroups)
Specified by:
setExcludedGroups in interface SurefireExecutionParameters

getSuiteXmlFiles

public File[] getSuiteXmlFiles()
Specified by:
getSuiteXmlFiles in interface SurefireExecutionParameters

setSuiteXmlFiles

public void setSuiteXmlFiles(File[] suiteXmlFiles)
Specified by:
setSuiteXmlFiles in interface SurefireExecutionParameters

getJunitArtifactName

public String getJunitArtifactName()
Specified by:
getJunitArtifactName in interface SurefireExecutionParameters

setJunitArtifactName

public void setJunitArtifactName(String junitArtifactName)
Specified by:
setJunitArtifactName in interface SurefireExecutionParameters

getTestNGArtifactName

public String getTestNGArtifactName()
Specified by:
getTestNGArtifactName in interface SurefireExecutionParameters

setTestNGArtifactName

public void setTestNGArtifactName(String testNGArtifactName)
Specified by:
setTestNGArtifactName in interface SurefireExecutionParameters

getThreadCount

public int getThreadCount()
Specified by:
getThreadCount in interface SurefireExecutionParameters

setThreadCount

public void setThreadCount(int threadCount)
Specified by:
setThreadCount in interface SurefireExecutionParameters

getPerCoreThreadCount

public boolean getPerCoreThreadCount()
Specified by:
getPerCoreThreadCount in interface SurefireExecutionParameters

setPerCoreThreadCount

public void setPerCoreThreadCount(boolean perCoreThreadCount)
Specified by:
setPerCoreThreadCount in interface SurefireExecutionParameters

getUseUnlimitedThreads

public boolean getUseUnlimitedThreads()
Specified by:
getUseUnlimitedThreads in interface SurefireExecutionParameters

setUseUnlimitedThreads

public void setUseUnlimitedThreads(boolean useUnlimitedThreads)
Specified by:
setUseUnlimitedThreads in interface SurefireExecutionParameters

getParallel

public String getParallel()
Specified by:
getParallel in interface SurefireExecutionParameters

setParallel

public void setParallel(String parallel)
Specified by:
setParallel in interface SurefireExecutionParameters

isTrimStackTrace

public boolean isTrimStackTrace()
Specified by:
isTrimStackTrace in interface SurefireExecutionParameters

setTrimStackTrace

public void setTrimStackTrace(boolean trimStackTrace)
Specified by:
setTrimStackTrace in interface SurefireExecutionParameters

getArtifactResolver

public org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()
Specified by:
getArtifactResolver in interface SurefireExecutionParameters

setArtifactResolver

public void setArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)
Specified by:
setArtifactResolver in interface SurefireExecutionParameters

getArtifactFactory

public org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()
Specified by:
getArtifactFactory in interface SurefireExecutionParameters

setArtifactFactory

public void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
Specified by:
setArtifactFactory in interface SurefireExecutionParameters

getRemoteRepositories

public List getRemoteRepositories()
Specified by:
getRemoteRepositories in interface SurefireExecutionParameters

setRemoteRepositories

public void setRemoteRepositories(List remoteRepositories)
Specified by:
setRemoteRepositories in interface SurefireExecutionParameters

getMetadataSource

public org.apache.maven.artifact.metadata.ArtifactMetadataSource getMetadataSource()
Specified by:
getMetadataSource in interface SurefireExecutionParameters

setMetadataSource

public void setMetadataSource(org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource)
Specified by:
setMetadataSource in interface SurefireExecutionParameters

getOriginalSystemProperties

public Properties getOriginalSystemProperties()
Specified by:
getOriginalSystemProperties in interface SurefireExecutionParameters

setOriginalSystemProperties

public void setOriginalSystemProperties(Properties originalSystemProperties)
Specified by:
setOriginalSystemProperties in interface SurefireExecutionParameters

getInternalSystemProperties

public Properties getInternalSystemProperties()
Specified by:
getInternalSystemProperties in interface SurefireExecutionParameters

setInternalSystemProperties

public void setInternalSystemProperties(Properties internalSystemProperties)
Specified by:
setInternalSystemProperties in interface SurefireExecutionParameters

isDisableXmlReport

public boolean isDisableXmlReport()
Specified by:
isDisableXmlReport in interface SurefireExecutionParameters

setDisableXmlReport

public void setDisableXmlReport(boolean disableXmlReport)
Specified by:
setDisableXmlReport in interface SurefireExecutionParameters

isUseSystemClassLoader

public boolean isUseSystemClassLoader()
Specified by:
isUseSystemClassLoader in interface SurefireExecutionParameters

setUseSystemClassLoader

public void setUseSystemClassLoader(boolean useSystemClassLoader)
Specified by:
setUseSystemClassLoader in interface SurefireExecutionParameters

isUseManifestOnlyJar

public boolean isUseManifestOnlyJar()
Specified by:
isUseManifestOnlyJar in interface SurefireExecutionParameters

setUseManifestOnlyJar

public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
Specified by:
setUseManifestOnlyJar in interface SurefireExecutionParameters

isEnableAssertions

public boolean isEnableAssertions()
Specified by:
isEnableAssertions in interface SurefireExecutionParameters

setEnableAssertions

public void setEnableAssertions(boolean enableAssertions)
Specified by:
setEnableAssertions in interface SurefireExecutionParameters

getSession

public org.apache.maven.execution.MavenSession getSession()
Specified by:
getSession in interface SurefireExecutionParameters

setSession

public void setSession(org.apache.maven.execution.MavenSession session)
Specified by:
setSession in interface SurefireExecutionParameters

getObjectFactory

public String getObjectFactory()
Specified by:
getObjectFactory in interface SurefireExecutionParameters

setObjectFactory

public void setObjectFactory(String objectFactory)
Specified by:
setObjectFactory in interface SurefireExecutionParameters

getToolchainManager

public org.apache.maven.toolchain.ToolchainManager getToolchainManager()
Specified by:
getToolchainManager in interface SurefireExecutionParameters

setToolchainManager

public void setToolchainManager(org.apache.maven.toolchain.ToolchainManager toolchainManager)
Specified by:
setToolchainManager in interface SurefireExecutionParameters

isMavenParallel

public boolean isMavenParallel()
Specified by:
isMavenParallel in interface SurefireExecutionParameters

getRunOrder

public String getRunOrder()
Specified by:
getRunOrder in interface SurefireExecutionParameters

setRunOrder

public void setRunOrder(String runOrder)
Specified by:
setRunOrder in interface SurefireExecutionParameters

addPluginSpecificChecksumItems

protected void addPluginSpecificChecksumItems(ChecksumCalculator checksum)
Specified by:
addPluginSpecificChecksumItems in class AbstractSurefireMojo


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.