Class AbstractToolInstallation

java.lang.Object
hudson.model.AbstractDescribableImpl<ToolInstallation>
hudson.tools.ToolInstallation
de.tracetronic.jenkins.plugins.ecutest.tool.installation.AbstractToolInstallation
All Implemented Interfaces:
ExtensionPoint, Describable<ToolInstallation>, EnvironmentSpecific<AbstractToolInstallation>, NodeSpecific<AbstractToolInstallation>, Serializable
Direct Known Subclasses:
ETInstallation

public abstract class AbstractToolInstallation extends ToolInstallation implements EnvironmentSpecific<AbstractToolInstallation>, NodeSpecific<AbstractToolInstallation>
Represents a base tool installation specified by name and home directory.
See Also:
  • Constructor Details

  • Method Details

    • getExecutable

      public abstract String getExecutable(Launcher launcher) throws IOException, InterruptedException
      Gets the executable file path of the tool on the given target system.
      Parameters:
      launcher - the launcher
      Returns:
      the executable file path or null if home directory is not set or file does not exist
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - if the current thread is interrupted while waiting for the completion