Class AbstractExtraToolInstaller

java.lang.Object
hudson.tools.ToolInstaller
com.synopsys.arc.jenkinsci.plugins.extratoolinstallers.installers.AbstractExtraToolInstaller
All Implemented Interfaces:
ExtensionPoint, Describable<ToolInstaller>
Direct Known Subclasses:
BatchCommandInstaller, SharedDirectoryInstaller, StubInstaller

public abstract class AbstractExtraToolInstaller extends ToolInstaller
Abstract class, which encapsulates common methods for installers.
Since:
0.2.1
Author:
Oleg Nenashev
  • Constructor Details

  • Method Details

    • isFailOnSubstitution

      public final boolean isFailOnSubstitution()
    • getToolHome

      public final String getToolHome()
    • substituteNodeVariablesValidated

      protected String substituteNodeVariablesValidated(String stringName, String macroString, Node node) throws ExtraToolInstallersException
      Substitute variables and fail on errors.
      Parameters:
      stringName - Name of the field
      macroString - String to be checked
      node - Node, where tool is being installed
      Returns:
      Substituted string
      Throws:
      ExtraToolInstallersException - Substitution error