public class

MethodNameListenerMethodSelector

extends Object
implements ListenerMethodSelector
java.lang.Object
   ↳ com.atlassian.plugin.event.impl.MethodNameListenerMethodSelector

Class Overview

Listener method selector that makes its determination by matching the method name

Summary

Public Constructors
MethodNameListenerMethodSelector()
MethodNameListenerMethodSelector(String s)
Public Methods
boolean isListenerMethod(Method method)
Determines if the listener method has the name as the one configured
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.plugin.event.impl.ListenerMethodSelector

Public Constructors

public MethodNameListenerMethodSelector ()

public MethodNameListenerMethodSelector (String s)

Public Methods

public boolean isListenerMethod (Method method)

Determines if the listener method has the name as the one configured

Parameters
method The method to test
Returns
  • True if the method name matches the configured method name, false otherwise