Package com.atlassian.plugin.event.impl
Class AnnotationListenerMethodSelector
java.lang.Object
com.atlassian.plugin.event.impl.AnnotationListenerMethodSelector
- All Implemented Interfaces:
ListenerMethodSelector
Listener method selector that looks for a specific marker annotation
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationListenerMethodSelector(Class<? extends Annotation> markerAnnotation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListenerMethod(Method method) Determines if the method is a listener method
-
Constructor Details
-
AnnotationListenerMethodSelector
public AnnotationListenerMethodSelector() -
AnnotationListenerMethodSelector
-
-
Method Details
-
isListenerMethod
Description copied from interface:ListenerMethodSelectorDetermines if the method is a listener method- Specified by:
isListenerMethodin interfaceListenerMethodSelector- Parameters:
method- The possible listener method. Cannot be null.- Returns:
- True if this is a listener method
-