org.apache.maven.surefire.booter
Class ForkConfiguration
java.lang.Object
org.apache.maven.surefire.booter.ForkConfiguration
public class ForkConfiguration
- extends Object
Configuration for forking tests.
- Author:
- Brett Porter, Kenney Westerhof
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORK_ONCE
public static final String FORK_ONCE
- See Also:
- Constant Field Values
FORK_ALWAYS
public static final String FORK_ALWAYS
- See Also:
- Constant Field Values
FORK_NEVER
public static final String FORK_NEVER
- See Also:
- Constant Field Values
ForkConfiguration
public ForkConfiguration()
setForkMode
public void setForkMode(String forkMode)
isForking
public boolean isForking()
setUseSystemClassLoader
public void setUseSystemClassLoader(boolean useSystemClassLoader)
isUseSystemClassLoader
public boolean isUseSystemClassLoader()
setSystemProperties
public void setSystemProperties(Properties systemProperties)
setJvmExecutable
public void setJvmExecutable(String jvmExecutable)
setArgLine
public void setArgLine(String argLine)
setDebugLine
public void setDebugLine(String debugLine)
setEnvironmentVariables
public void setEnvironmentVariables(Map environmentVariables)
setWorkingDirectory
public void setWorkingDirectory(File workingDirectory)
getForkMode
public String getForkMode()
getSystemProperties
public Properties getSystemProperties()
createCommandLine
public Commandline createCommandLine(List classPath)
throws SurefireBooterForkException
- Deprecated. use the 2-arg alternative.
- Throws:
SurefireBooterForkException
createCommandLine
public Commandline createCommandLine(List classPath,
boolean useJar)
throws SurefireBooterForkException
- Throws:
SurefireBooterForkException
setDebug
public void setDebug(boolean debug)
isDebug
public boolean isDebug()
setUseManifestOnlyJar
public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
isUseManifestOnlyJar
public boolean isUseManifestOnlyJar()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.