Package org.codehaus.mojo.license.spdx
Class SpdxLicenseInfo
java.lang.Object
org.codehaus.mojo.license.spdx.SpdxLicenseInfo
A license item from
SPDX licenses.json.
attachments
is an enhancement done by us during processing of the JSON input.- Since:
- 1.18
- Author:
- Peter Palaga
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Data not coming directly from SPDX licenses.json but enhanced by us.static class
ASpdxLicenseInfo
builder. -
Constructor Summary
ConstructorsConstructorDescriptionSpdxLicenseInfo
(String reference, boolean isDeprecatedLicenseId, boolean isFsfLibre, String detailsUrl, String name, String licenseId, List<String> seeAlso, boolean isOsiApproved, SpdxLicenseInfo.Attachments attachments) -
Method Summary
Modifier and TypeMethodDescriptionstatic SpdxLicenseInfo.Builder
builder()
getName()
boolean
boolean
boolean
-
Constructor Details
-
SpdxLicenseInfo
-
-
Method Details
-
builder
-
isFsfLibre
public boolean isFsfLibre() -
getReference
-
isDeprecatedLicenseId
public boolean isDeprecatedLicenseId() -
getDetailsUrl
-
getName
-
getLicenseId
-
getSeeAlso
-
isOsiApproved
public boolean isOsiApproved() -
getAttachments
- Returns:
- the
SpdxLicenseInfo.Attachments
- i.e. the data that does not come directly from spdx.org
-