Uses of Class
org.spdx.library.model.SpdxPackage
| Package | Description |
|---|---|
| org.spdx.library |
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.utility.compare |
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 SpdxPackage Modifier and Type Method Description static Stream<SpdxPackage>Read. getAllPackages(IModelStore modelStore, String documentUri) -
Uses of SpdxPackage in org.spdx.library.model
Methods in org.spdx.library.model that return SpdxPackage Modifier and Type Method Description SpdxPackageSpdxPackage. addChecksum(Checksum checksum)Add a checksum to the collection of checksums for this packageSpdxPackageSpdxPackage. addExternalRef(ExternalRef externalRef)SpdxPackageSpdxPackage. addFile(SpdxFile file)Add a file to the collection of files attached to this packageSpdxPackageSpdxPackage.SpdxPackageBuilder. build()SpdxPackageSpdxPackage. setDescription(String description)SpdxPackageSpdxPackage. setDownloadLocation(String downloadLocation)SpdxPackageSpdxPackage. setFilesAnalyzed(Boolean filesAnalyzed)Set files Analyzed for the packageSpdxPackageSpdxPackage. setHomepage(String homepage)SpdxPackageSpdxPackage. setLicenseDeclared(AnyLicenseInfo licenseDeclared)Set the licenseDeclaredSpdxPackageSpdxPackage. setOriginator(String originator)SpdxPackageSpdxPackage. setPackageFileName(String packageFileName)SpdxPackageSpdxPackage. setPackageVerificationCode(SpdxPackageVerificationCode verificationCode)SpdxPackageSpdxPackage. setSourceInfo(String sourceInfo)SpdxPackageSpdxPackage. setSummary(String summary)SpdxPackageSpdxPackage. setSupplier(String supplier)SpdxPackageSpdxPackage. setVersionInfo(String versionInfo)Methods in org.spdx.library.model with parameters of type SpdxPackage Modifier and Type Method Description intSpdxPackage. compareTo(SpdxPackage pkg) -
Uses of SpdxPackage in org.spdx.utility.compare
Methods in org.spdx.utility.compare that return SpdxPackage Modifier and Type Method Description SpdxPackageSpdxPackageComparer. getDocPackage(SpdxDocument document)Return the package associated with the documentMethods in org.spdx.utility.compare that return types with arguments of type SpdxPackage Modifier and Type Method Description protected List<SpdxPackage>SpdxComparer. collectAllPackages(SpdxDocument spdxDocument)Collect all of the packages present in the SPDX document including packages embedded in other relationships within documentsList<SpdxPackage>SpdxComparer. 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 SpdxPackage Modifier and Type Method Description voidSpdxPackageComparer. addDocumentPackage(SpdxDocument spdxDocument, SpdxPackage spdxPackage)Add a package to the comparer and performs the comparison to any existing documents