Class ProviderConfiguration

java.lang.Object
org.apache.maven.surefire.booter.ProviderConfiguration

public class ProviderConfiguration extends Object
Represents the surefire configuration that passes all the way into the provider classloader and the provider.
Author:
Jason van Zyl, Emmanuel Venisse, Kristian Rosenvold
  • Constructor Details

    • ProviderConfiguration

      public ProviderConfiguration(org.apache.maven.surefire.api.testset.DirectoryScannerParameters directoryScannerParameters, org.apache.maven.surefire.api.testset.RunOrderParameters runOrderParameters, org.apache.maven.surefire.api.report.ReporterConfiguration reporterConfiguration, org.apache.maven.surefire.api.testset.TestArtifactInfo testArtifact, org.apache.maven.surefire.api.testset.TestRequest testSuiteDefinition, Map<String,String> providerProperties, TypeEncodedValue typeEncodedTestSet, boolean readTestsFromInStream, List<org.apache.maven.surefire.api.cli.CommandLineOption> mainCliOptions, int skipAfterFailureCount, org.apache.maven.surefire.api.booter.Shutdown shutdown, Integer systemExitTimeout)
  • Method Details

    • getReporterConfiguration

      public org.apache.maven.surefire.api.report.ReporterConfiguration getReporterConfiguration()
    • getBaseDir

      public File getBaseDir()
    • getDirScannerParams

      public org.apache.maven.surefire.api.testset.DirectoryScannerParameters getDirScannerParams()
    • getIncludes

      @Deprecated public List getIncludes()
      Deprecated.
    • getExcludes

      @Deprecated public List getExcludes()
      Deprecated.
    • getTestArtifact

      public org.apache.maven.surefire.api.testset.TestArtifactInfo getTestArtifact()
    • getTestSuiteDefinition

      public org.apache.maven.surefire.api.testset.TestRequest getTestSuiteDefinition()
    • getProviderProperties

      public Map<String,String> getProviderProperties()
    • getTestForFork

      public TypeEncodedValue getTestForFork()
    • getRunOrderParameters

      public org.apache.maven.surefire.api.testset.RunOrderParameters getRunOrderParameters()
    • isReadTestsFromInStream

      public boolean isReadTestsFromInStream()
    • getMainCliOptions

      public List<org.apache.maven.surefire.api.cli.CommandLineOption> getMainCliOptions()
    • getSkipAfterFailureCount

      public int getSkipAfterFailureCount()
    • getShutdown

      public org.apache.maven.surefire.api.booter.Shutdown getShutdown()
    • getSystemExitTimeout

      public Integer getSystemExitTimeout()
    • systemExitTimeout

      public long systemExitTimeout(long fallback)