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

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

package info.novatec.testit.webtester.events;

import java.time.LocalDateTime;

/**
 * Base class for all events.
 * 

* It stores the event's creation timestamp as a property. * * @see Event * @see EventListener * @see EventSystem * @since 2.0 */ public abstract class AbstractEvent implements Event { private final LocalDateTime timestamp = LocalDateTime.now(); @Override public LocalDateTime getTimestamp() { return timestamp; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy