public interface WithAnnotations
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Retrieves an annotation of the
WithAnnotations component |
Annotation[] |
getAnnotations() |
default boolean |
isAnnotatedWith(Class<? extends Annotation> annotation) |
Annotation[] getAnnotations()
WithAnnotations component is annotated with<A extends Annotation> Optional<A> getAnnotation(Class<A> annotationClass)
WithAnnotations componentA - The annotation typeannotationClass - Of the annotation to retrieveOptional annotation to retrievedefault boolean isAnnotatedWith(Class<? extends Annotation> annotation)
annotation - The annotation to verify if the, WithAnnotations is annotated with.boolean indicating if the WithAnnotations element is annotated with the given annotationCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.