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.
  • Field Details

  • Constructor Details

  • Method Details

    • isProviderMainClass

      public boolean isProviderMainClass()
    • inForkedVm

      public static StartupConfiguration inForkedVm(String providerClassName, ClasspathConfiguration classpathConfig, ClassLoaderConfiguration classLoaderConfig, ProcessCheckerType processChecker)
    • getClasspathConfiguration

      public AbstractPathConfiguration getClasspathConfiguration()
    • isManifestOnlyJarRequestedAndUsable

      public boolean isManifestOnlyJarRequestedAndUsable()
    • getProviderClassName

      public String getProviderClassName()
    • getActualClassName

      public String getActualClassName()
    • stripEnd

      private 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 from
      strip - the String to remove
      Returns:
      the stripped String
    • getClassLoaderConfiguration

      public ClassLoaderConfiguration getClassLoaderConfiguration()
    • isShadefire

      public boolean isShadefire()
    • writeSurefireTestClasspathProperty

      public void writeSurefireTestClasspathProperty()
    • getProcessChecker

      public ProcessCheckerType getProcessChecker()
    • getJpmsArguments

      public List<String[]> getJpmsArguments()