
org.fugerit.java.tool.ToolHandler Maven / Gradle / Ivy
package org.fugerit.java.tool;
import java.util.Properties;
/**
* Interface for every tool in this project.
*
* @author Fugerit
*
*/
public interface ToolHandler {
/**
* Exit code for operations ended with no errors.
*/
public static final int EXIT_OK = 0;
/**
* Does the operation of this handler.
*
* @param params the params
* @return the result code of the operation
* @throws Exception if issues arises
*/
public int handle( Properties params ) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy