You can buy this project and download/modify it how often you want.
package cucumber.api.event; public interface EventHandler { void receive(T event); }