This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
2019-12-29 09:53:48 +01:00
|
|
|
package envoy.event;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Project: <strong>envoy-common</strong><br>
|
|
|
|
* File: <strong>Event.java</strong><br>
|
|
|
|
* Created: <strong>04.12.2019</strong><br>
|
|
|
|
*
|
|
|
|
* @author Kai S. K. Engelbart
|
|
|
|
* @param <T> the type of the Event
|
|
|
|
* @since Envoy v0.2-alpha
|
|
|
|
*/
|
|
|
|
public interface Event<T> {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return the data associated with this event
|
|
|
|
*/
|
2020-01-28 17:01:02 +01:00
|
|
|
default T get() { return null; }
|
2019-12-29 09:53:48 +01:00
|
|
|
}
|