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
  • Constructor Details

    • MethodNameListenerMethodSelector

      public MethodNameListenerMethodSelector()
    • MethodNameListenerMethodSelector

      public MethodNameListenerMethodSelector(String s)
  • Method Details

    • 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