Package org.junit.jupiter.engine.config
Class CachingJupiterConfiguration
- java.lang.Object
-
- org.junit.jupiter.engine.config.CachingJupiterConfiguration
-
- All Implemented Interfaces:
JupiterConfiguration
@API(status=INTERNAL, since="5.4") public class CachingJupiterConfiguration extends Object implements JupiterConfiguration
Caching implementation of theJupiterConfiguration
API.- Since:
- 5.4
-
-
Field Summary
-
Fields inherited from interface org.junit.jupiter.engine.config.JupiterConfiguration
DEACTIVATE_ALL_CONDITIONS_PATTERN, DEACTIVATE_CONDITIONS_PATTERN_PROPERTY_NAME, DEFAULT_EXECUTION_MODE_PROPERTY_NAME, DEFAULT_TEST_INSTANCE_LIFECYCLE_PROPERTY_NAME, EXTENSIONS_AUTODETECTION_ENABLED_PROPERTY_NAME, PARALLEL_EXECUTION_ENABLED_PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description CachingJupiterConfiguration(JupiterConfiguration delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionMode
getDefaultExecutionMode()
TestInstance.Lifecycle
getDefaultTestInstanceLifecycle()
Predicate<ExecutionCondition>
getExecutionConditionFilter()
Optional<String>
getRawConfigurationParameter(String key)
boolean
isExtensionAutoDetectionEnabled()
boolean
isParallelExecutionEnabled()
-
-
-
Constructor Detail
-
CachingJupiterConfiguration
public CachingJupiterConfiguration(JupiterConfiguration delegate)
-
-
Method Detail
-
getRawConfigurationParameter
public Optional<String> getRawConfigurationParameter(String key)
- Specified by:
getRawConfigurationParameter
in interfaceJupiterConfiguration
-
isParallelExecutionEnabled
public boolean isParallelExecutionEnabled()
- Specified by:
isParallelExecutionEnabled
in interfaceJupiterConfiguration
-
isExtensionAutoDetectionEnabled
public boolean isExtensionAutoDetectionEnabled()
- Specified by:
isExtensionAutoDetectionEnabled
in interfaceJupiterConfiguration
-
getDefaultExecutionMode
public ExecutionMode getDefaultExecutionMode()
- Specified by:
getDefaultExecutionMode
in interfaceJupiterConfiguration
-
getDefaultTestInstanceLifecycle
public TestInstance.Lifecycle getDefaultTestInstanceLifecycle()
- Specified by:
getDefaultTestInstanceLifecycle
in interfaceJupiterConfiguration
-
getExecutionConditionFilter
public Predicate<ExecutionCondition> getExecutionConditionFilter()
- Specified by:
getExecutionConditionFilter
in interfaceJupiterConfiguration
-
-