Class LicenseDownloader.LicenseDownloadResult
java.lang.Object
org.codehaus.mojo.license.download.LicenseDownloader.LicenseDownloadResult
- Enclosing class:
LicenseDownloader
A result of a license download operation.
- Since:
- 1.18
-
Method Details
-
success
public static LicenseDownloader.LicenseDownloadResult success(File file, String sha1, boolean preferredFileName) -
failure
-
getFile
-
getErrorMessage
-
isSuccess
public boolean isSuccess()Is true when no errorMessage is set.- Returns:
- If errorMessage is set.
-
isPreferredFileName
public boolean isPreferredFileName() -
getSha1
-
getNormalizedContentChecksum
-
withFile
-
toString
-