Class LatestInstallerPathResolver

java.lang.Object
jenkins.plugins.nodejs.tools.pathresolvers.LatestInstallerPathResolver
All Implemented Interfaces:
InstallerPathResolver

public class LatestInstallerPathResolver extends Object implements InstallerPathResolver
Calculate the name of the installer for the specified version according the architecture and CPU of the destination node.
Author:
fcamblor, Nikolas Falco
  • Constructor Details

    • LatestInstallerPathResolver

      public LatestInstallerPathResolver()
  • Method Details

    • resolvePathFor

      public String resolvePathFor(String version, Platform platform, CPU cpu)
      Description copied from interface: InstallerPathResolver
      Resolve the URL path for the given parameters.
      Specified by:
      resolvePathFor in interface InstallerPathResolver
      Parameters:
      version - string version of an installable unit
      platform - of the node where this installable is designed
      cpu - of the node where this installable is designed
      Returns:
      the relative path URL for the given specifics
    • isMSI

      public boolean isMSI(String version)