| Package | Description |
|---|---|
| org.codehaus.mojo.license.download |
| Modifier and Type | Method and Description |
|---|---|
LicenseDownloader.LicenseDownloadResult |
LicenseDownloader.downloadLicense(String licenseUrlString,
FileNameEntry fileNameEntry,
org.apache.maven.plugin.logging.Log log)
Downloads a license file from the given
licenseUrlString stores it locally and
returns the local path where the license file was stored. |
static LicenseDownloader.LicenseDownloadResult |
LicenseDownloader.LicenseDownloadResult.failure(String errorMessage) |
LicenseDownloader.LicenseDownloadResult |
Cache.get(String url) |
static LicenseDownloader.LicenseDownloadResult |
LicenseDownloader.LicenseDownloadResult.success(File file,
String sha1,
boolean preferredFileName) |
LicenseDownloader.LicenseDownloadResult |
LicenseDownloader.LicenseDownloadResult.withFile(File otherFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
Cache.put(String url,
LicenseDownloader.LicenseDownloadResult entry)
Binds the given
url to the give LicenseDownloader.LicenseDownloadResult. |
Copyright © 2010–2019 MojoHaus. All rights reserved.