Module org.junit.jupiter.engine
Interface ExtensionRegistry
- All Known Implementing Classes:
MutableExtensionRegistry
An
ExtensionRegistry
holds all registered extensions (i.e.
instances of Extension
) for a given
Node
.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptiongetExtensions
(Class<E> extensionType) Get allExtensions
of the specified type that are present in this registry or one of its ancestors.getReversedExtensions
(Class<E> extensionType) Get allExtensions
of the specified type that are present in this registry or one of its ancestors, in reverse order.Stream allExtensions
of the specified type that are present in this registry or one of its ancestors.
-
Method Details
-
stream
Stream allExtensions
of the specified type that are present in this registry or one of its ancestors.- Parameters:
extensionType
- the type ofExtension
to stream- See Also:
-
getExtensions
Get allExtensions
of the specified type that are present in this registry or one of its ancestors.- Parameters:
extensionType
- the type ofExtension
to get- See Also:
-
getReversedExtensions
Get allExtensions
of the specified type that are present in this registry or one of its ancestors, in reverse order.- Parameters:
extensionType
- the type ofExtension
to get- See Also:
-