Class ToolHandlerHelper

    • Constructor Detail

      • ToolHandlerHelper

        public ToolHandlerHelper()
    • Method Detail

      • handleWorker

        public abstract int handleWorker​(Properties params)
                                  throws RunToolException

        Handler worker method.

        Parameters:
        params - ths params for the tool
        Returns:
        exit code (0 is all ok)
        Throws:
        RunToolException - issues if problems arise
      • handle

        public int handle​(Properties params)
        Description copied from interface: ToolHandler

        Does the operation of this handler.

        Specified by:
        handle in interface ToolHandler
        Parameters:
        params - the params
        Returns:
        the result code of the operation
      • getHelp

        public String getHelp()
        Generate the heklp for current Tool
        Returns:
        Help text