@groovy.transform.CompileStatic class ResolveExecutableByVersion extends Object
Uses an implementation of an AbstractDistributionInstaller to find an exe by version number.
| Modifiers | Name | Description |
|---|---|---|
static interface |
ResolveExecutableByVersion.DownloadedExecutable |
|
static interface |
ResolveExecutableByVersion.DownloaderFactory |
| Constructor and description |
|---|
ResolveExecutableByVersion
(Project project, ResolveExecutableByVersion.DownloaderFactory factory, ResolveExecutableByVersion.DownloadedExecutable resolver)Resolve by downloadable version. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
ResolvableExecutable |
build(java.util.Map<String, Object> options, Object from)Creates ResolvableExecutable from a Packer version. |
Returns name.
Resolve by downloadable version.
project - Associated project.factory - Factory for creating downloaders.resolver - Resolves execution path from download item.Creates ResolvableExecutable from a Packer version.
options - Passed through to the downloader, ignored otherwise.from - Anything convertible to a string that contains a valid version for the
specific exe / tool / distribution.Groovy Documentation