Interface ExtensionRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <E extends Extension>
List<E>getExtensions(Class<E> extensionType)
Get allExtensions
of the specified type that are present in this registry or one of its ancestors.default <E extends Extension>
List<E>getReversedExtensions(Class<E> extensionType)
Get allExtensions
of the specified type that are present in this registry or one of its ancestors, in reverse order.<E extends Extension>
Stream<E>stream(Class<E> extensionType)
Stream allExtensions
of the specified type that are present in this registry or one of its ancestors.
-
-
-
Method Detail
-
stream
<E extends Extension> Stream<E> stream(Class<E> extensionType)
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:
getReversedExtensions(Class)
,getExtensions(Class)
-
getExtensions
default <E extends Extension> List<E> getExtensions(Class<E> extensionType)
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(Class)
,stream(Class)
-
getReversedExtensions
default <E extends Extension> List<E> getReversedExtensions(Class<E> extensionType)
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:
getExtensions(Class)
,stream(Class)
-
-