Uses of Interface
org.apache.sling.testing.mock.osgi.config.ConfigAnnotationUtil.ConfigTypePredicate
Packages that use ConfigAnnotationUtil.ConfigTypePredicate
Package
Description
OSGi Config Type Parameters core implementation.
-
Uses of ConfigAnnotationUtil.ConfigTypePredicate in org.apache.sling.testing.mock.osgi.config
Methods in org.apache.sling.testing.mock.osgi.config with parameters of type ConfigAnnotationUtil.ConfigTypePredicateModifier and TypeMethodDescriptionstatic Predicate<Annotation>
ConfigAnnotationUtil.configTypeAnnotationFilter
(ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate) Utility function that returns a predicate for use as a filter expression forConfigAnnotationUtil.findConfigTypeAnnotations(AnnotatedElement)
andConfigAnnotationUtil.findConfigTypeAnnotations(Collection)
that reduces the input stream of annotations based on provided set of allowed config types.static Stream<Annotation>
ConfigAnnotationUtil.findConfigTypeAnnotations
(@NotNull AnnotatedElement element, @Nullable ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate) Find candidate OSGi config annotations on the givenAnnotatedElement
, returning a stream of only those matching one of the desired config types.static Stream<Annotation>
ConfigAnnotationUtil.findConfigTypeAnnotations
(@NotNull Collection<Annotation> annotations, @Nullable ConfigAnnotationUtil.ConfigTypePredicate configTypePredicate) Find candidate OSGi config annotations in the given collection, returning a stream of only those matching one of the desired config types.