Package org.spdx.sbom.gradle.utils
Class SpdxLicenses
- java.lang.Object
-
- org.spdx.sbom.gradle.utils.SpdxLicenses
-
public class SpdxLicenses extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.spdx.library.model.license.AnyLicenseInfoasSpdxLicense(java.util.List<PomInfo.LicenseInfo> licenses)static SpdxLicensesnewSpdxLicenes(org.gradle.api.logging.Logger logger, org.spdx.library.model.SpdxDocument doc, SpdxKnownLicenses spdxKnownLicenses)
-
-
-
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
-
-