@groovy.transform.CompileStatic @Deprecated class ResolveExecutableByVersion extends Object
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, org.ysb33r.grolifant.api.v4.exec.DownloaderFactory factory, org.ysb33r.grolifant.api.v4.exec.DownloadedExecutable resolver)Resolve by downloadable version. |
ResolveExecutableByVersion
(org.ysb33r.grolifant.api.core.ProjectOperations projectOperations, org.ysb33r.grolifant.api.v4.exec.DownloaderFactory factory, org.ysb33r.grolifant.api.v4.exec.DownloadedExecutable resolver)Resolve by downloadable 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 org.ysb33r.grolifant.api.v4.exec.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