org.apache.maven.surefire.booter
Class ForkConfiguration
java.lang.Object
org.apache.maven.surefire.booter.ForkConfiguration
public class ForkConfiguration
- extends java.lang.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 java.lang.String FORK_ONCE
- See Also:
- Constant Field Values
FORK_ALWAYS
public static final java.lang.String FORK_ALWAYS
- See Also:
- Constant Field Values
FORK_NEVER
public static final java.lang.String FORK_NEVER
- See Also:
- Constant Field Values
ForkConfiguration
public ForkConfiguration()
setForkMode
public void setForkMode(java.lang.String forkMode)
isForking
public boolean isForking()
setUseSystemClassLoader
public void setUseSystemClassLoader(boolean useSystemClassLoader)
isUseSystemClassLoader
public boolean isUseSystemClassLoader()
setSystemProperties
public void setSystemProperties(java.util.Properties systemProperties)
setJvmExecutable
public void setJvmExecutable(java.lang.String jvmExecutable)
setArgLine
public void setArgLine(java.lang.String argLine)
setDebugLine
public void setDebugLine(java.lang.String debugLine)
setEnvironmentVariables
public void setEnvironmentVariables(java.util.Map environmentVariables)
setWorkingDirectory
public void setWorkingDirectory(java.io.File workingDirectory)
getForkMode
public java.lang.String getForkMode()
getSystemProperties
public java.util.Properties getSystemProperties()
createCommandLine
public org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.List classPath)
throws SurefireBooterForkException
- Deprecated. use the 2-arg alternative.
- Throws:
SurefireBooterForkException
createCommandLine
public org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.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-2009 Apache Software Foundation. All Rights Reserved.