Class SpdxLicenses


  • public class SpdxLicenses
    extends java.lang.Object
    • Method Detail

      • newSpdxLicenes

        public static SpdxLicenses newSpdxLicenes​(org.gradle.api.logging.Logger logger,
                                                  org.spdx.library.model.SpdxDocument doc,
                                                  SpdxKnownLicenses spdxKnownLicenses)
      • asSpdxLicense

        public org.spdx.library.model.license.AnyLicenseInfo asSpdxLicense​(java.util.List<PomInfo.LicenseInfo> licenses)
                                                                    throws org.spdx.library.InvalidSPDXAnalysisException
        Throws:
        org.spdx.library.InvalidSPDXAnalysisException