Interface ExtensionContextInternal
-
- All Superinterfaces:
org.junit.jupiter.api.extension.ExtensionContext
- All Known Implementing Classes:
AbstractExtensionContext,ClassExtensionContext,ClassTemplateInvocationExtensionContext,DynamicExtensionContext,JupiterEngineExtensionContext,MethodExtensionContext,TestTemplateExtensionContext
@API(status=INTERNAL, since="5.12") public interface ExtensionContextInternal extends org.junit.jupiter.api.extension.ExtensionContextExtensionContextInternalextends theExtensionContextwith internal API.- Since:
- 5.12
- See Also:
ExtensionContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <E extends org.junit.jupiter.api.extension.Extension>
java.util.List<E>getExtensions(java.lang.Class<E> extensionType)Returns a list of registered extension at this context of the passedextensionType.-
Methods inherited from interface org.junit.jupiter.api.extension.ExtensionContext
getConfigurationParameter, getConfigurationParameter, getDisplayName, getElement, getEnclosingTestClasses, getExecutableInvoker, getExecutionException, getExecutionMode, getParent, getRequiredTestClass, getRequiredTestInstance, getRequiredTestInstances, getRequiredTestMethod, getRoot, getStore, getStore, getTags, getTestClass, getTestInstance, getTestInstanceLifecycle, getTestInstances, getTestMethod, getUniqueId, publishDirectory, publishFile, publishFile, publishReportEntry, publishReportEntry, publishReportEntry
-
-
-
-
Method Detail
-
getExtensions
<E extends org.junit.jupiter.api.extension.Extension> java.util.List<E> getExtensions(java.lang.Class<E> extensionType)
Returns a list of registered extension at this context of the passedextensionType.- Type Parameters:
E- the extension type- Parameters:
extensionType- the extension type- Returns:
- the list of extensions
-
-