@groovy.transform.CompileStatic class ResolveExecutableByVersion
Uses an implementation of an AbstractDistributionInstaller to find an exe by version number.
Modifiers | Name | Description |
---|---|---|
static interface |
ResolveExecutableByVersion.DownloadedExecutable |
@param |
static interface |
ResolveExecutableByVersion.DownloaderFactory |
@param |
Constructor and description |
---|
ResolveExecutableByVersion
(Project project, DownloaderFactory factory, DownloadedExecutable resolver) Resolve by downloadable version. |
ResolveExecutableByVersion
(ProjectOperations projectOperations, DownloaderFactory factory, 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 tool version. |
Returns name
.
Resolve by downloadable version.
project
- Associated project.factory
- Factory for creating downloaders.resolver
- Resolves execution path from download item.Resolve by downloadable version.
projectOperations
- Associated project.factory
- Factory for creating downloaders.resolver
- Resolves execution path from download item.Creates ResolvableExecutable from a tool 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