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 allExtensionsof 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 allExtensionsof 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 allExtensionsof 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 allExtensionsof the specified type that are present in this registry or one of its ancestors.- Parameters:
extensionType- the type ofExtensionto stream- See Also:
getReversedExtensions(Class),getExtensions(Class)
-
getExtensions
default <E extends Extension> List<E> getExtensions(Class<E> extensionType)
Get allExtensionsof the specified type that are present in this registry or one of its ancestors.- Parameters:
extensionType- the type ofExtensionto get- See Also:
getReversedExtensions(Class),stream(Class)
-
getReversedExtensions
default <E extends Extension> List<E> getReversedExtensions(Class<E> extensionType)
Get allExtensionsof the specified type that are present in this registry or one of its ancestors, in reverse order.- Parameters:
extensionType- the type ofExtensionto get- See Also:
getExtensions(Class),stream(Class)
-
-