public abstract class KitResolver extends Object
| Constructor and Description |
|---|
KitResolver() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
createLocalInstallFromInstaller(Version version,
PackageType packageType,
License license,
Path localInstallerPath,
Path rootInstallationPath)
Uses the local installer and create a Terracotta install on the local machine.
|
protected void |
download(URL url,
Path dest) |
void |
downloadLocalInstaller(Version version,
LicenseType licenseType,
PackageType packageType,
Path localInstallerFile)
Downloads the installer on the local machine
|
abstract Path |
resolveKitInstallationPath(Version version,
PackageType packageType,
Path localInstallerPath,
Path rootInstallationPath)
Resolves the root of the local Terracotta install path.
|
abstract URL[] |
resolveKitUrls(Version version,
LicenseType licenseType,
PackageType packageType)
Resolves the Terracotta installation kit URL.
|
abstract String |
resolveLocalInstallerPath(Version version,
LicenseType licenseType,
PackageType packageType)
Resolves the installer path on the local machine.
|
abstract boolean |
supports(LicenseType licenseType)
Verifies if the
LicenseType is supported by the KitResolver implementation. |
public abstract String resolveLocalInstallerPath(Version version, LicenseType licenseType, PackageType packageType)
version - VersionlicenseType - LicenseTypepackageType - PackageTypepublic abstract void createLocalInstallFromInstaller(Version version, PackageType packageType, License license, Path localInstallerPath, Path rootInstallationPath)
version - VersionpackageType - PackageTypelicense - LicenselocalInstallerPath - path of the installer on the local machinerootInstallationPath - directory where installs are stored for cachingpublic abstract Path resolveKitInstallationPath(Version version, PackageType packageType, Path localInstallerPath, Path rootInstallationPath)
version - VersionpackageType - PackageTypelocalInstallerPath - path of the installer on the local machinerootInstallationPath - directory where installs are stored for cachingpublic abstract URL[] resolveKitUrls(Version version, LicenseType licenseType, PackageType packageType)
version - VersionlicenseType - LicenseTypepackageType - PackageTypepublic abstract boolean supports(LicenseType licenseType)
LicenseType is supported by the KitResolver implementation.licenseType - LicenseTypepublic void downloadLocalInstaller(Version version, LicenseType licenseType, PackageType packageType, Path localInstallerFile)
version - VersionlicenseType - LicenseTypepackageType - PackageTypelocalInstallerFile - path of the installer on the local machineCopyright © 2020. All rights reserved.