All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.novatec.testit.webtester.events.Event Maven / Gradle / Ivy

package info.novatec.testit.webtester.events;

import java.time.LocalDateTime;


/**
 * Represents an event in the framework. An event can be something simple as clicking a button or something as complex as
 * taking a screenshot.
 * 

* Events usually contain information about what happened to prompt the firing of the event. * I.e. this could be the text before and after for a text set event. * * @see EventListener * @see DispatchingEventSystem * @since 2.0 */ public interface Event { /** * The exact point in time the event occurred. * * @return the timestamp * @see LocalDateTime * @since 2.0 */ LocalDateTime getTimestamp(); /** * A textual description of the event. Intended to be understandable to humans. * * @return the event description * @since 2.0 */ String describe(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy