Package com.atlassian.plugin.event.impl
Class MethodNameListenerMethodSelector
java.lang.Object
com.atlassian.plugin.event.impl.MethodNameListenerMethodSelector
- All Implemented Interfaces:
ListenerMethodSelector
Listener method selector that makes its determination by matching the method name
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanisListenerMethod(Method method) Determines if the listener method has the name as the one configured
-
Constructor Details
-
MethodNameListenerMethodSelector
public MethodNameListenerMethodSelector() -
MethodNameListenerMethodSelector
-
-
Method Details
-
isListenerMethod
Determines if the listener method has the name as the one configured- Specified by:
isListenerMethodin interfaceListenerMethodSelector- Parameters:
method- The method to test- Returns:
- True if the method name matches the configured method name, false otherwise
-