Package org.fugerit.java.tool
Interface ToolHandler
-
- All Known Implementing Classes:
CharsetCorrect
,ExportQuery
,ExtractFixedConfigHandler
,FixedToExcel
,LoggerTest
,SendMail
,ToolHandlerHelper
public interface ToolHandler
Interface for every tool in this project.
- Author:
- Fugerit
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXIT_OK
Exit code for operations ended with no errors.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
handle(Properties params)
Does the operation of this handler.
-
-
-
Field Detail
-
EXIT_OK
static final int EXIT_OK
Exit code for operations ended with no errors.- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
int handle(Properties params) throws Exception
Does the operation of this handler.
- Parameters:
params
- the params- Returns:
- the result code of the operation
- Throws:
Exception
- if issues arises
-
-