package org.fluentlenium.core.events.annotations; import org.fluentlenium.core.events.ElementListener; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Add this annotation on a method to register it in {@link org.fluentlenium.core.events.EventsRegistry}. * <p> * Can be used in test adapter, injected pages and components. * <p> * Parameters from {@link ElementListener} will be injected in the method based on parameters types. * * @see org.fluentlenium.core.events.EventsRegistry#afterChangeValueOf(ElementListener) */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface AfterChangeValueOf { /** * Priority of the method. Higher priority will be executed first. * * @return priority value */ int value() default 0; }