Package jenkins.plugins.nodejs.tools
Class InstallerPathResolver.Factory
java.lang.Object
jenkins.plugins.nodejs.tools.InstallerPathResolver.Factory
- Enclosing interface:
- InstallerPathResolver
Factory that return lookup for an implementation of
InstallerPathResolver
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InstallerPathResolver
Return an implementation adapt for the given installable.static boolean
isVersionBlacklisted
(String version)
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
findResolverFor
Return an implementation adapt for the given installable.- Parameters:
id
- an installable- Returns:
- an instance of
InstallerPathResolver
- Throws:
IllegalArgumentException
- in case the given installable is not supported.
-
isVersionBlacklisted
-