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

it.netgrid.bauer.EventHandler Maven / Gradle / Ivy

There is a newer version: 1.1.6
Show newest version
package it.netgrid.bauer;

public interface EventHandler {
	
	public String getName();
	
	public Class getEventClass();

	/**
	 * Handle return value as:
	 * - FALSE: retry (a temporary error is occurred)
	 * - TRUE: go ahead (success or permanent error is occurred)
	 * @param event
	 * @return
	 * @throws Exception
	 */
	public boolean handle(E event) throws Exception;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy