Package io.fluentlenium.core.events
Class AbstractAnnotationListener
java.lang.Object
io.fluentlenium.core.events.AbstractAnnotationListener
- All Implemented Interfaces:
ListenerContainer
,ListenerPriority
public abstract class AbstractAnnotationListener
extends Object
implements ListenerPriority, ListenerContainer
Abstract class for annotation listeners.
-
Constructor Summary
ConstructorDescriptionAbstractAnnotationListener
(Object container, int priority) Creates a new annotation listener. -
Method Summary
Modifier and TypeMethodDescriptionGet the underlying container of this listener.int
Get the priority of this listener.
-
Constructor Details
-
AbstractAnnotationListener
Creates a new annotation listener.- Parameters:
container
- container where annotation has been foundpriority
- priority of this listener
-
-
Method Details
-
getPriority
public int getPriority()Description copied from interface:ListenerPriority
Get the priority of this listener.- Specified by:
getPriority
in interfaceListenerPriority
- Returns:
- listener priority
-
getContainer
Description copied from interface:ListenerContainer
Get the underlying container of this listener.- Specified by:
getContainer
in interfaceListenerContainer
- Returns:
- container object
-