public class SpdxLicenseInfo extends Object
attachments is an enhancement done by us during processing of the JSON input.| Modifier and Type | Class and Description |
|---|---|
static class |
SpdxLicenseInfo.Attachments
Data not coming directly from
SPDX
licenses.json but enhanced by us.
|
static class |
SpdxLicenseInfo.Builder
A
SpdxLicenseInfo builder. |
| Constructor and Description |
|---|
SpdxLicenseInfo(String reference,
boolean isDeprecatedLicenseId,
boolean isFsfLibre,
String detailsUrl,
String name,
String licenseId,
List<String> seeAlso,
boolean isOsiApproved,
SpdxLicenseInfo.Attachments attachments) |
| Modifier and Type | Method and Description |
|---|---|
static SpdxLicenseInfo.Builder |
builder() |
SpdxLicenseInfo.Attachments |
getAttachments() |
String |
getDetailsUrl() |
String |
getLicenseId() |
String |
getName() |
String |
getReference() |
List<String> |
getSeeAlso() |
boolean |
isDeprecatedLicenseId() |
boolean |
isFsfLibre() |
boolean |
isOsiApproved() |
public static SpdxLicenseInfo.Builder builder()
public boolean isFsfLibre()
public String getReference()
public boolean isDeprecatedLicenseId()
public String getDetailsUrl()
public String getName()
public String getLicenseId()
public boolean isOsiApproved()
public SpdxLicenseInfo.Attachments getAttachments()
SpdxLicenseInfo.Attachments - i.e. the data that does not come directly from spdx.orgCopyright © 2010–2019 MojoHaus. All rights reserved.