com.atlassian.plugin.event.impl
Class MethodNameListenerMethodSelector
java.lang.Object
com.atlassian.plugin.event.impl.MethodNameListenerMethodSelector
- All Implemented Interfaces:
- ListenerMethodSelector
public class MethodNameListenerMethodSelector
- extends Object
- implements ListenerMethodSelector
Listener method selector that makes its determination by matching the method name
|
Method Summary |
boolean |
isListenerMethod(Method method)
Determines if the listener method has the name as the one configured |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodNameListenerMethodSelector
public MethodNameListenerMethodSelector()
MethodNameListenerMethodSelector
public MethodNameListenerMethodSelector(String s)
isListenerMethod
public boolean isListenerMethod(Method method)
- Determines if the listener method has the name as the one configured
- Specified by:
isListenerMethod in interface ListenerMethodSelector
- Parameters:
method - The method to test
- Returns:
- True if the method name matches the configured method name, false otherwise
Copyright © 2011 Atlassian. All Rights Reserved.