public interface BaseDistributionInstaller
The base interface for all distribution installers.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
addExecPattern(String relPaths)Add patterns for files to be marked executable. |
|
public void |
setArtifactRootVerification(ArtifactRootVerification arv)Sets the method by which to verify an artifact root where package has been unpacked to. |
|
public void |
setArtifactUnpacker(ArtifactUnpacker unpacker)Sets the method by which to unpack a downloaded archive. |
|
public void |
setChecksum(String cs)Set a checksum that needs to be verified against downloaded archive |
|
public void |
setDownloadRoot(Object downloadRootDir)Sets a download root directory for the distribution. |
Add patterns for files to be marked executable.
Calling this method multiple times simply appends for patterns
relPaths - One or more ANT-stype include patternsSets the method by which to verify an artifact root where package has been unpacked to.
arv - VerifierSets the method by which to unpack a downloaded archive. It could also be a way to copy a single downloaded file to a location.
unpacker - Unpack mechanism.Set a checksum that needs to be verified against downloaded archive
cs - SHA-256 Hex-encoded checksumSets a download root directory for the distribution.
If not supplied the default is to use the Gradle User Home. This method is provided for convenience and is mostly only used for testing purposes.
The folder will be created at download time if it does not exist.
downloadRootDir - Any writeable directory on the filesystem.