Interface ExtensionContextInternal

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.junit.jupiter.api.extension.ExtensionContext

        org.junit.jupiter.api.extension.ExtensionContext.Namespace, org.junit.jupiter.api.extension.ExtensionContext.Store, org.junit.jupiter.api.extension.ExtensionContext.StoreScope
    • 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 passed extensionType.
      • 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 passed extensionType.
        Type Parameters:
        E - the extension type
        Parameters:
        extensionType - the extension type
        Returns:
        the list of extensions