Class AbstractToolInstallation

    • Constructor Detail

      • AbstractToolInstallation

        public AbstractToolInstallation​(String name,
                                        String home,
                                        List<? extends ToolProperty<?>> properties)
        Instantiates a new AbstractToolInstallation.
        Parameters:
        name - the name of the tool
        home - the home directory of the tool
        properties - the tool properties
    • Method Detail

      • 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