public class StartupConfiguration extends Object
Constructor and Description |
---|
StartupConfiguration(String providerClassName,
ClasspathConfiguration classpathConfiguration,
ClassLoaderConfiguration classLoaderConfiguration,
boolean isForkRequested,
boolean inForkedVm) |
Modifier and Type | Method and Description |
---|---|
String |
getActualClassName() |
ClassLoaderConfiguration |
getClassLoaderConfiguration() |
ClasspathConfiguration |
getClasspathConfiguration() |
String |
getProviderClassName() |
static StartupConfiguration |
inForkedVm(String providerClassName,
ClasspathConfiguration classpathConfiguration,
ClassLoaderConfiguration classLoaderConfiguration) |
boolean |
isManifestOnlyJarRequestedAndUsable() |
boolean |
isProviderMainClass() |
boolean |
isShadefire() |
static String |
stripEnd(String str,
String strip)
Strip any of a supplied String from the end of a String.
|
boolean |
useSystemClassLoader() |
void |
writeSurefireTestClasspathProperty() |
public StartupConfiguration(String providerClassName, ClasspathConfiguration classpathConfiguration, ClassLoaderConfiguration classLoaderConfiguration, boolean isForkRequested, boolean inForkedVm)
public boolean isProviderMainClass()
public static StartupConfiguration inForkedVm(String providerClassName, ClasspathConfiguration classpathConfiguration, ClassLoaderConfiguration classLoaderConfiguration)
public ClasspathConfiguration getClasspathConfiguration()
public boolean useSystemClassLoader()
public boolean isManifestOnlyJarRequestedAndUsable()
public String getProviderClassName()
public String getActualClassName()
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.
str
- the String to remove characters fromstrip
- the String to removepublic ClassLoaderConfiguration getClassLoaderConfiguration()
public boolean isShadefire()
public void writeSurefireTestClasspathProperty()
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.