Package org.codehaus.mojo.license.spdx
Class SpdxLicenseInfo.Attachments.UrlInfo
java.lang.Object
org.codehaus.mojo.license.spdx.SpdxLicenseInfo.Attachments.UrlInfo
- Enclosing class:
SpdxLicenseInfo.Attachments
A sha1 checksum and mime type associated with an URL.
- Since:
- 1.18
-
Constructor Details
-
UrlInfo
-
-
Method Details
-
isStable
public boolean isStable()- Returns:
true
is the checksum returned bygetSha1()
is likely to stay stable over time;false
otherwise. The likeness of staying stable is (1) tested automatically when generattingSpdxLicenseListData
and (2) for some sites it is set manually based on their historical behavior.
-
getSha1
- Returns:
- the checksum computed after applying sanitizers at
SpdxLicenseListData
generation time.
-
getMimeType
-
isSanitized
public boolean isSanitized()
-