Class SpdxLicenseInfo

java.lang.Object
org.codehaus.mojo.license.spdx.SpdxLicenseInfo

public class SpdxLicenseInfo extends Object
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
  • Constructor Details

  • Method Details

    • builder

      public static SpdxLicenseInfo.Builder builder()
    • isFsfLibre

      public boolean isFsfLibre()
    • getReference

      public String getReference()
    • isDeprecatedLicenseId

      public boolean isDeprecatedLicenseId()
    • getDetailsUrl

      public String getDetailsUrl()
    • getName

      public String getName()
    • getLicenseId

      public String getLicenseId()
    • getSeeAlso

      public List<String> getSeeAlso()
    • isOsiApproved

      public boolean isOsiApproved()
    • getAttachments

      public SpdxLicenseInfo.Attachments getAttachments()
      Returns:
      the SpdxLicenseInfo.Attachments - i.e. the data that does not come directly from spdx.org