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
ConstructorsConstructorDescriptionAbstractAnnotationListener(Object container, int priority) Creates a new annotation listener. -
Method Summary
Modifier and TypeMethodDescriptionGet the underlying container of this listener.intGet 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:ListenerPriorityGet the priority of this listener.- Specified by:
getPriorityin interfaceListenerPriority- Returns:
- listener priority
-
getContainer
Description copied from interface:ListenerContainerGet the underlying container of this listener.- Specified by:
getContainerin interfaceListenerContainer- Returns:
- container object
-