public class BaseProviderFactory extends Object implements ProviderParameters
| Constructor and Description |
|---|
BaseProviderFactory(boolean insideFork) |
| Modifier and Type | Method and Description |
|---|---|
CommandChainReader |
getCommandReader() |
DirectoryScanner |
getDirectoryScanner()
Deprecated.
|
DirectoryScannerParameters |
getDirectoryScannerParameters()
The raw parameters used in creating the directory scanner
|
List<CommandLineOption> |
getMainCliOptions() |
Map<String,String> |
getProviderProperties()
The per-provider specific properties that may come all the way from the plugin's properties setting.
|
ReporterConfiguration |
getReporterConfiguration()
The raw parameters used in creating the ReporterManagerFactory
|
ReporterFactory |
getReporterFactory()
Provides features for creating reporting objects
|
RunOrderCalculator |
getRunOrderCalculator()
Provides a service to calculate run order of tests.
|
ScanResult |
getScanResult()
Provides the result of the directory scan performed in the plugin
|
int |
getSkipAfterFailureCount() |
Integer |
getSystemExitTimeout() |
TestArtifactInfo |
getTestArtifactInfo()
Artifact info about the artifact used to autodetect provider
|
ClassLoader |
getTestClassLoader()
The class loader for the tests
|
TestRequest |
getTestRequest()
Contains information about requested test suites or individual tests from the command line.
|
boolean |
isInsideFork() |
void |
setClassLoaders(ClassLoader testClassLoader) |
void |
setCommandReader(CommandChainReader commandReader) |
void |
setDirectoryScannerParameters(DirectoryScannerParameters directoryScannerParameters) |
void |
setMainCliOptions(List<CommandLineOption> mainCliOptions)
CLI options in plugin (main) JVM process.
|
void |
setProviderProperties(Map<String,String> providerProperties) |
void |
setReporterConfiguration(ReporterConfiguration reporterConfiguration) |
void |
setReporterFactory(ReporterFactory reporterFactory) |
void |
setRunOrderParameters(RunOrderParameters runOrderParameters) |
void |
setSkipAfterFailureCount(int skipAfterFailureCount)
See the plugin configuration parameter "skipAfterFailureCount".
|
void |
setSystemExitTimeout(Integer systemExitTimeout) |
void |
setTestArtifactInfo(TestArtifactInfo testArtifactInfo) |
void |
setTestRequest(TestRequest testRequest) |
public CommandChainReader getCommandReader()
getCommandReader in interface ProviderParameterspublic void setCommandReader(CommandChainReader commandReader)
@Deprecated public DirectoryScanner getDirectoryScanner()
ProviderParametersgetDirectoryScanner in interface ProviderParameterspublic ScanResult getScanResult()
ProviderParametersgetScanResult in interface ProviderParameterspublic RunOrderCalculator getRunOrderCalculator()
ProviderParametersgetRunOrderCalculator in interface ProviderParameterspublic void setReporterFactory(ReporterFactory reporterFactory)
public ReporterFactory getReporterFactory()
ProviderParametersgetReporterFactory in interface ProviderParameterspublic void setDirectoryScannerParameters(DirectoryScannerParameters directoryScannerParameters)
public void setReporterConfiguration(ReporterConfiguration reporterConfiguration)
public void setClassLoaders(ClassLoader testClassLoader)
public void setTestRequest(TestRequest testRequest)
public DirectoryScannerParameters getDirectoryScannerParameters()
ProviderParametersgetDirectoryScannerParameters in interface ProviderParameterspublic ReporterConfiguration getReporterConfiguration()
ProviderParametersgetReporterConfiguration in interface ProviderParameterspublic TestRequest getTestRequest()
ProviderParametersgetTestRequest in interface ProviderParameterspublic ClassLoader getTestClassLoader()
ProviderParametersgetTestClassLoader in interface ProviderParameterspublic Map<String,String> getProviderProperties()
ProviderParametersgetProviderProperties in interface ProviderParameterspublic TestArtifactInfo getTestArtifactInfo()
ProviderParametersgetTestArtifactInfo in interface ProviderParameterspublic void setTestArtifactInfo(TestArtifactInfo testArtifactInfo)
public void setRunOrderParameters(RunOrderParameters runOrderParameters)
public List<CommandLineOption> getMainCliOptions()
getMainCliOptions in interface ProviderParameterspublic void setMainCliOptions(List<CommandLineOption> mainCliOptions)
mainCliOptions - optionspublic int getSkipAfterFailureCount()
getSkipAfterFailureCount in interface ProviderParametersskipAfterFailureCount in POM.public void setSkipAfterFailureCount(int skipAfterFailureCount)
skipAfterFailureCount - the value in config parameter "skipAfterFailureCount"public boolean isInsideFork()
isInsideFork in interface ProviderParameterstrue if test provider appears in forked jvm; Otherwise false means
in-plugin provider.public Integer getSystemExitTimeout()
getSystemExitTimeout in interface ProviderParameterspublic void setSystemExitTimeout(Integer systemExitTimeout)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.