public abstract class ToolHandlerHelper extends Object implements ToolHandler
Basic class for the tool handler interface.
Modifier and Type | Field and Description |
---|---|
static int |
EXIT_KO_DEFAULT |
protected static org.slf4j.Logger |
logger |
EXIT_OK
Constructor and Description |
---|
ToolHandlerHelper() |
Modifier and Type | Method and Description |
---|---|
String |
getHelp() |
int |
handle(Properties params)
Does the operation of this handler.
|
abstract int |
handleWorker(Properties params)
Handler worker method.
|
protected static final org.slf4j.Logger logger
public static final int EXIT_KO_DEFAULT
public abstract int handleWorker(Properties params) throws Exception
Handler worker method.
params
- ths params for the toolException
- issues if problems arisepublic int handle(Properties params) throws Exception
ToolHandler
Does the operation of this handler.
handle
in interface ToolHandler
params
- the paramsException
- if issues arisespublic String getHelp()
Copyright © 2017 Fugerit. All rights reserved.