org.apache.maven.plugin.surefire
Interface SurefireExecutionParameters

All Known Implementing Classes:
AbstractSurefireMojo

public interface SurefireExecutionParameters

The parameters required to execute surefire.

Author:
Stephen Connolly

Method Summary
 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()
           
 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()
           
 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()
           
 boolean isChildDelegation()
           
 boolean isDisableXmlReport()
           
 boolean isEnableAssertions()
           
 boolean isMavenParallel()
           
 boolean isPrintSummary()
           
 boolean isRedirectTestOutputToFile()
           
 boolean isSkip()
           
 boolean isSkipExec()
           
 boolean isSkipTests()
           
 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 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)
           
 

Method Detail

isSkipTests

boolean isSkipTests()

setSkipTests

void setSkipTests(boolean skipTests)

isSkipExec

boolean isSkipExec()

setSkipExec

void setSkipExec(boolean skipExec)

isSkip

boolean isSkip()

setSkip

void setSkip(boolean skip)

getBasedir

File getBasedir()

setBasedir

void setBasedir(File basedir)

getTestClassesDirectory

File getTestClassesDirectory()

setTestClassesDirectory

void setTestClassesDirectory(File testClassesDirectory)

getClassesDirectory

File getClassesDirectory()

setClassesDirectory

void setClassesDirectory(File classesDirectory)

getProject

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

setProject

void setProject(org.apache.maven.project.MavenProject project)

getClasspathDependencyExcludes

List getClasspathDependencyExcludes()

setClasspathDependencyExcludes

void setClasspathDependencyExcludes(List classpathDependencyExcludes)

getClasspathDependencyScopeExclude

String getClasspathDependencyScopeExclude()

setClasspathDependencyScopeExclude

void setClasspathDependencyScopeExclude(String classpathDependencyScopeExclude)

getAdditionalClasspathElements

List getAdditionalClasspathElements()

setAdditionalClasspathElements

void setAdditionalClasspathElements(List additionalClasspathElements)

getReportsDirectory

File getReportsDirectory()

setReportsDirectory

void setReportsDirectory(File reportsDirectory)

getTestSourceDirectory

File getTestSourceDirectory()

setTestSourceDirectory

void setTestSourceDirectory(File testSourceDirectory)

getTest

String getTest()

getTestMethod

String getTestMethod()

setTest

void setTest(String test)

getIncludes

List getIncludes()

setIncludes

void setIncludes(List includes)

getExcludes

List getExcludes()

setExcludes

void setExcludes(List excludes)

getLocalRepository

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

setLocalRepository

void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)

getSystemProperties

Properties getSystemProperties()

setSystemProperties

void setSystemProperties(Properties systemProperties)

getSystemPropertyVariables

Map getSystemPropertyVariables()

setSystemPropertyVariables

void setSystemPropertyVariables(Map systemPropertyVariables)

getSystemPropertiesFile

File getSystemPropertiesFile()

setSystemPropertiesFile

void setSystemPropertiesFile(File systemPropertiesFile)

getProperties

Properties getProperties()

setProperties

void setProperties(Properties properties)

getPluginArtifactMap

Map getPluginArtifactMap()

setPluginArtifactMap

void setPluginArtifactMap(Map pluginArtifactMap)

getProjectArtifactMap

Map getProjectArtifactMap()

setProjectArtifactMap

void setProjectArtifactMap(Map projectArtifactMap)

isPrintSummary

boolean isPrintSummary()

setPrintSummary

void setPrintSummary(boolean printSummary)

getReportFormat

String getReportFormat()

setReportFormat

void setReportFormat(String reportFormat)

getReportNameSuffix

String getReportNameSuffix()

setReportNameSuffix

void setReportNameSuffix(String reportNameSuffix)

isUseFile

boolean isUseFile()

setUseFile

void setUseFile(boolean useFile)

isRedirectTestOutputToFile

boolean isRedirectTestOutputToFile()

setRedirectTestOutputToFile

void setRedirectTestOutputToFile(boolean redirectTestOutputToFile)

getForkMode

String getForkMode()

setForkMode

void setForkMode(String forkMode)

getJvm

String getJvm()

setJvm

void setJvm(String jvm)

getArgLine

String getArgLine()

setArgLine

void setArgLine(String argLine)

getDebugForkedProcess

String getDebugForkedProcess()

setDebugForkedProcess

void setDebugForkedProcess(String debugForkedProcess)

getForkedProcessTimeoutInSeconds

int getForkedProcessTimeoutInSeconds()

setForkedProcessTimeoutInSeconds

void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)

getEnvironmentVariables

Map getEnvironmentVariables()

setEnvironmentVariables

void setEnvironmentVariables(Map environmentVariables)

getWorkingDirectory

File getWorkingDirectory()

setWorkingDirectory

void setWorkingDirectory(File workingDirectory)

isChildDelegation

boolean isChildDelegation()

setChildDelegation

void setChildDelegation(boolean childDelegation)

getGroups

String getGroups()

setGroups

void setGroups(String groups)

getExcludedGroups

String getExcludedGroups()

setExcludedGroups

void setExcludedGroups(String excludedGroups)

getSuiteXmlFiles

File[] getSuiteXmlFiles()

setSuiteXmlFiles

void setSuiteXmlFiles(File[] suiteXmlFiles)

getJunitArtifactName

String getJunitArtifactName()

setJunitArtifactName

void setJunitArtifactName(String junitArtifactName)

getTestNGArtifactName

String getTestNGArtifactName()

setTestNGArtifactName

void setTestNGArtifactName(String testNGArtifactName)

getThreadCount

int getThreadCount()

setThreadCount

void setThreadCount(int threadCount)

getPerCoreThreadCount

boolean getPerCoreThreadCount()

setPerCoreThreadCount

void setPerCoreThreadCount(boolean perCoreThreadCount)

getUseUnlimitedThreads

boolean getUseUnlimitedThreads()

setUseUnlimitedThreads

void setUseUnlimitedThreads(boolean useUnlimitedThreads)

getParallel

String getParallel()

setParallel

void setParallel(String parallel)

isTrimStackTrace

boolean isTrimStackTrace()

setTrimStackTrace

void setTrimStackTrace(boolean trimStackTrace)

getArtifactResolver

org.apache.maven.artifact.resolver.ArtifactResolver getArtifactResolver()

setArtifactResolver

void setArtifactResolver(org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver)

getArtifactFactory

org.apache.maven.artifact.factory.ArtifactFactory getArtifactFactory()

setArtifactFactory

void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)

getRemoteRepositories

List getRemoteRepositories()

setRemoteRepositories

void setRemoteRepositories(List remoteRepositories)

getMetadataSource

org.apache.maven.artifact.metadata.ArtifactMetadataSource getMetadataSource()

setMetadataSource

void setMetadataSource(org.apache.maven.artifact.metadata.ArtifactMetadataSource metadataSource)

getOriginalSystemProperties

Properties getOriginalSystemProperties()

setOriginalSystemProperties

void setOriginalSystemProperties(Properties originalSystemProperties)

getInternalSystemProperties

Properties getInternalSystemProperties()

setInternalSystemProperties

void setInternalSystemProperties(Properties internalSystemProperties)

isDisableXmlReport

boolean isDisableXmlReport()

setDisableXmlReport

void setDisableXmlReport(boolean disableXmlReport)

isUseSystemClassLoader

boolean isUseSystemClassLoader()

setUseSystemClassLoader

void setUseSystemClassLoader(boolean useSystemClassLoader)

isUseManifestOnlyJar

boolean isUseManifestOnlyJar()

setUseManifestOnlyJar

void setUseManifestOnlyJar(boolean useManifestOnlyJar)

isEnableAssertions

boolean isEnableAssertions()

setEnableAssertions

void setEnableAssertions(boolean enableAssertions)

getSession

org.apache.maven.execution.MavenSession getSession()

setSession

void setSession(org.apache.maven.execution.MavenSession session)

getObjectFactory

String getObjectFactory()

setObjectFactory

void setObjectFactory(String objectFactory)

getToolchainManager

org.apache.maven.toolchain.ToolchainManager getToolchainManager()

setToolchainManager

void setToolchainManager(org.apache.maven.toolchain.ToolchainManager toolchainManager)

getFailIfNoTests

Boolean getFailIfNoTests()

setFailIfNoTests

void setFailIfNoTests(Boolean failIfNoTests)

isMavenParallel

boolean isMavenParallel()

setRunOrder

void setRunOrder(String runOrder)

getRunOrder

String getRunOrder()


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