Interface ToolClient

    • Method Detail

      • start

        boolean start​(boolean checkProcesses,
                      FilePath workspace,
                      Launcher launcher,
                      TaskListener listener)
               throws IOException,
                      InterruptedException
        Starts a tool.
        Parameters:
        checkProcesses - specifies whether to check open processes after tear down
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted
      • stop

        boolean stop​(boolean checkProcesses,
                     FilePath workspace,
                     Launcher launcher,
                     TaskListener listener)
              throws IOException,
                     InterruptedException
        Stops a tool.
        Parameters:
        checkProcesses - specifies whether to check open processes after tear down
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted
      • restart

        boolean restart​(boolean checkProcesses,
                        FilePath workspace,
                        Launcher launcher,
                        TaskListener listener)
                 throws IOException,
                        InterruptedException
        Restarts a tool.
        Parameters:
        checkProcesses - specifies whether to check open processes after tear down
        workspace - the workspace
        launcher - the launcher
        listener - the listener
        Returns:
        true if successful, false otherwise
        Throws:
        IOException - signals that an I/O exception has occurred
        InterruptedException - if the build gets interrupted