Package org.apache.maven.surefire.booter
Class StartupConfiguration
java.lang.Object
org.apache.maven.surefire.booter.StartupConfiguration
Configuration that is used by the SurefireStarter but does not make it into the provider itself.
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorDescriptionStartupConfiguration
(String providerClassName, AbstractPathConfiguration classpathConfiguration, ClassLoaderConfiguration classLoaderConfiguration, ProcessCheckerType processChecker, List<String[]> jpmsArguments) -
Method Summary
Modifier and TypeMethodDescriptionstatic StartupConfiguration
inForkedVm
(String providerClassName, ClasspathConfiguration classpathConfig, ClassLoaderConfiguration classLoaderConfig, ProcessCheckerType processChecker) boolean
boolean
boolean
void
-
Constructor Details
-
StartupConfiguration
public StartupConfiguration(@Nonnull String providerClassName, @Nonnull AbstractPathConfiguration classpathConfiguration, @Nonnull ClassLoaderConfiguration classLoaderConfiguration, ProcessCheckerType processChecker, @Nonnull List<String[]> jpmsArguments)
-
-
Method Details
-
isProviderMainClass
public boolean isProviderMainClass() -
inForkedVm
public static StartupConfiguration inForkedVm(String providerClassName, ClasspathConfiguration classpathConfig, ClassLoaderConfiguration classLoaderConfig, ProcessCheckerType processChecker) -
getClasspathConfiguration
-
isManifestOnlyJarRequestedAndUsable
public boolean isManifestOnlyJarRequestedAndUsable() -
getProviderClassName
-
getActualClassName
-
getClassLoaderConfiguration
-
isShadefire
public boolean isShadefire() -
writeSurefireTestClasspathProperty
public void writeSurefireTestClasspathProperty() -
getProcessChecker
-
getJpmsArguments
-