net.sourceforge.basher.booter
Class BasherForkConfiguration

java.lang.Object
  extended by org.apache.maven.surefire.booter.ForkConfiguration
      extended by net.sourceforge.basher.booter.BasherForkConfiguration

public class BasherForkConfiguration
extends org.apache.maven.surefire.booter.ForkConfiguration

Forking configuration for Basher. FIXME: This relies on SureFire somewhat - should check if this is required still

Version:
$Revision$
Author:
Johan Lindquist

Field Summary
static java.lang.String FORK_ALWAYS
           
static java.lang.String FORK_NEVER
           
static java.lang.String FORK_ONCE
           
 
Constructor Summary
BasherForkConfiguration()
           
 
Method Summary
 org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.List classPath)
          Deprecated. use the 2-arg alternative.
 org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.List classPath, boolean useJar)
           
 java.lang.String getForkMode()
           
 java.util.Properties getSystemProperties()
           
 boolean isDebug()
           
 boolean isForking()
           
 boolean isUseManifestOnlyJar()
           
 boolean isUseSystemClassLoader()
           
 void setArgLine(java.lang.String argLine)
           
 void setDebug(boolean debug)
           
 void setDebugLine(java.lang.String debugLine)
           
 void setEnvironmentVariables(java.util.Map environmentVariables)
           
 void setForkMode(java.lang.String forkMode)
           
 void setJvmExecutable(java.lang.String jvmExecutable)
           
 void setSystemProperties(java.util.Properties systemProperties)
           
 void setUseManifestOnlyJar(boolean useManifestOnlyJar)
           
 void setUseSystemClassLoader(boolean useSystemClassLoader)
           
 void setWorkingDirectory(java.io.File workingDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

BasherForkConfiguration

public BasherForkConfiguration()
Method Detail

setForkMode

public void setForkMode(java.lang.String forkMode)
Overrides:
setForkMode in class org.apache.maven.surefire.booter.ForkConfiguration

isForking

public boolean isForking()
Overrides:
isForking in class org.apache.maven.surefire.booter.ForkConfiguration

setUseSystemClassLoader

public void setUseSystemClassLoader(boolean useSystemClassLoader)
Overrides:
setUseSystemClassLoader in class org.apache.maven.surefire.booter.ForkConfiguration

isUseSystemClassLoader

public boolean isUseSystemClassLoader()
Overrides:
isUseSystemClassLoader in class org.apache.maven.surefire.booter.ForkConfiguration

setSystemProperties

public void setSystemProperties(java.util.Properties systemProperties)
Overrides:
setSystemProperties in class org.apache.maven.surefire.booter.ForkConfiguration

setJvmExecutable

public void setJvmExecutable(java.lang.String jvmExecutable)
Overrides:
setJvmExecutable in class org.apache.maven.surefire.booter.ForkConfiguration

setArgLine

public void setArgLine(java.lang.String argLine)
Overrides:
setArgLine in class org.apache.maven.surefire.booter.ForkConfiguration

setDebugLine

public void setDebugLine(java.lang.String debugLine)
Overrides:
setDebugLine in class org.apache.maven.surefire.booter.ForkConfiguration

setEnvironmentVariables

public void setEnvironmentVariables(java.util.Map environmentVariables)
Overrides:
setEnvironmentVariables in class org.apache.maven.surefire.booter.ForkConfiguration

setWorkingDirectory

public void setWorkingDirectory(java.io.File workingDirectory)
Overrides:
setWorkingDirectory in class org.apache.maven.surefire.booter.ForkConfiguration

getForkMode

public java.lang.String getForkMode()
Overrides:
getForkMode in class org.apache.maven.surefire.booter.ForkConfiguration

getSystemProperties

public java.util.Properties getSystemProperties()
Overrides:
getSystemProperties in class org.apache.maven.surefire.booter.ForkConfiguration

createCommandLine

public org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.List classPath)
                                                                                                  throws org.apache.maven.surefire.booter.SurefireBooterForkException
Deprecated. use the 2-arg alternative.

Overrides:
createCommandLine in class org.apache.maven.surefire.booter.ForkConfiguration
Throws:
org.apache.maven.surefire.booter.SurefireBooterForkException

createCommandLine

public org.apache.maven.surefire.booter.shade.org.codehaus.plexus.util.cli.Commandline createCommandLine(java.util.List classPath,
                                                                                                         boolean useJar)
                                                                                                  throws org.apache.maven.surefire.booter.SurefireBooterForkException
Overrides:
createCommandLine in class org.apache.maven.surefire.booter.ForkConfiguration
Throws:
org.apache.maven.surefire.booter.SurefireBooterForkException

setDebug

public void setDebug(boolean debug)
Overrides:
setDebug in class org.apache.maven.surefire.booter.ForkConfiguration

isDebug

public boolean isDebug()
Overrides:
isDebug in class org.apache.maven.surefire.booter.ForkConfiguration

setUseManifestOnlyJar

public void setUseManifestOnlyJar(boolean useManifestOnlyJar)
Overrides:
setUseManifestOnlyJar in class org.apache.maven.surefire.booter.ForkConfiguration

isUseManifestOnlyJar

public boolean isUseManifestOnlyJar()
Overrides:
isUseManifestOnlyJar in class org.apache.maven.surefire.booter.ForkConfiguration


Copyright © 2008-2010 Basher Team. All Rights Reserved.