Uses of Class
org.spdx.library.model.SpdxPackage
Packages that use SpdxPackage
Package
Description
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
Copyright (c) 2019 Source Auditor Inc.
Utility classes for comparing SPDX model objects
-
Uses of SpdxPackage in org.spdx.library
Methods in org.spdx.library that return types with arguments of type SpdxPackageModifier and TypeMethodDescriptionstatic Stream<SpdxPackage>Read.getAllPackages(IModelStore modelStore, String documentUri) -
Uses of SpdxPackage in org.spdx.library.model
Methods in org.spdx.library.model that return SpdxPackageModifier and TypeMethodDescriptionSpdxPackage.addChecksum(Checksum checksum) Add a checksum to the collection of checksums for this packageSpdxPackage.addExternalRef(ExternalRef externalRef) Add a file to the collection of files attached to this packageSpdxPackage.SpdxPackageBuilder.build()SpdxPackage.setDescription(String description) SpdxPackage.setDownloadLocation(String downloadLocation) SpdxPackage.setFilesAnalyzed(Boolean filesAnalyzed) Set files Analyzed for the packageSpdxPackage.setHomepage(String homepage) SpdxPackage.setLicenseDeclared(AnyLicenseInfo licenseDeclared) Set the licenseDeclaredSpdxPackage.setOriginator(String originator) SpdxPackage.setPackageFileName(String packageFileName) SpdxPackage.setPackageVerificationCode(SpdxPackageVerificationCode verificationCode) SpdxPackage.setSourceInfo(String sourceInfo) SpdxPackage.setSummary(String summary) SpdxPackage.setSupplier(String supplier) SpdxPackage.setVersionInfo(String versionInfo) Methods in org.spdx.library.model with parameters of type SpdxPackage -
Uses of SpdxPackage in org.spdx.utility.compare
Methods in org.spdx.utility.compare that return SpdxPackageModifier and TypeMethodDescriptionSpdxPackageComparer.getDocPackage(SpdxDocument document) Return the package associated with the documentMethods in org.spdx.utility.compare that return types with arguments of type SpdxPackageModifier and TypeMethodDescriptionprotected List<SpdxPackage>SpdxComparer.collectAllPackages(SpdxDocument spdxDocument) Collect all of the packages present in the SPDX document including packages embedded in other relationships within documentsSpdxComparer.getUniquePackages(int docindex1, int docindex2) Return any files which are in spdx document index 1 but not in spdx document index 2Methods in org.spdx.utility.compare with parameters of type SpdxPackageModifier and TypeMethodDescriptionvoidSpdxPackageComparer.addDocumentPackage(SpdxDocument spdxDocument, SpdxPackage spdxPackage) Add a package to the comparer and performs the comparison to any existing documents