org.apache.maven.surefire.booter
Class StartupConfiguration
java.lang.Object
org.apache.maven.surefire.booter.StartupConfiguration
public class StartupConfiguration
- extends Object
Configuration that is used by the SurefireStarter but does not make it into the provider itself.
- Author:
- Kristian Rosenvold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartupConfiguration
public StartupConfiguration(String providerClassName,
ClasspathConfiguration classpathConfiguration,
ClassLoaderConfiguration classLoaderConfiguration,
boolean isForkRequested,
boolean inForkedVm)
isProviderMainClass
public boolean isProviderMainClass()
inForkedVm
public static StartupConfiguration inForkedVm(String providerClassName,
ClasspathConfiguration classpathConfiguration,
ClassLoaderConfiguration classLoaderConfiguration)
getClasspathConfiguration
public ClasspathConfiguration getClasspathConfiguration()
useSystemClassLoader
public boolean useSystemClassLoader()
isManifestOnlyJarRequestedAndUsable
public boolean isManifestOnlyJarRequestedAndUsable()
getProviderClassName
public String getProviderClassName()
getActualClassName
public String getActualClassName()
stripEnd
public static String stripEnd(String str,
String strip)
Strip any of a supplied String from the end of a String.
If the strip String is null
, whitespace is
stripped.
- Parameters:
str
- the String to remove characters fromstrip
- the String to remove
- Returns:
- the stripped String
getClassLoaderConfiguration
public ClassLoaderConfiguration getClassLoaderConfiguration()
isShadefire
public boolean isShadefire()
writeSurefireTestClasspathProperty
public void writeSurefireTestClasspathProperty()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.