Uses of Class
org.spdx.library.model.Checksum
| Package | Description |
|---|---|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.utility.compare |
Utility classes for comparing SPDX model objects
|
-
Uses of Checksum in org.spdx.library.model
Methods in org.spdx.library.model that return Checksum Modifier and Type Method Description static ChecksumChecksum. create(IModelStore modelStore, String documentUri, ChecksumAlgorithm algorithm, String value)Create a checksum with an anonymous IDChecksumModelObject. createChecksum(ChecksumAlgorithm algorithm, String value)Methods in org.spdx.library.model that return types with arguments of type Checksum Modifier and Type Method Description Optional<Checksum>ExternalDocumentRef. getChecksum()Collection<Checksum>SpdxFile. getChecksums()Collection<Checksum>SpdxPackage. getChecksums()Methods in org.spdx.library.model with parameters of type Checksum Modifier and Type Method Description booleanSpdxFile. addChecksum(Checksum checksum)Add a checksumSpdxFile.SpdxFileBuilderSpdxFile.SpdxFileBuilder. addChecksum(Checksum checksum)SpdxPackageSpdxPackage. addChecksum(Checksum checksum)Add a checksum to the collection of checksums for this packageSpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. addChecksum(Checksum checksum)intChecksum. compareTo(Checksum compare)ExternalDocumentRefModelObject. createExternalDocumentRef(String externalDocumentId, String externalDocumentUri, Checksum checksum)SpdxFile.SpdxFileBuilderModelObject. createSpdxFile(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, Checksum sha1)Create an SpdxFileBuilder with all of the required properties - the build() method will build the fileExternalDocumentRefExternalDocumentRef. setChecksum(Checksum checksum)Method parameters in org.spdx.library.model with type arguments of type Checksum Modifier and Type Method Description SpdxFile.SpdxFileBuilderSpdxFile.SpdxFileBuilder. setChecksums(Collection<Checksum> checksums)SpdxPackage.SpdxPackageBuilderSpdxPackage.SpdxPackageBuilder. setChecksums(Collection<Checksum> checksums)Constructors in org.spdx.library.model with parameters of type Checksum Constructor Description SpdxFileBuilder(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> licenseInfosFromFile, String copyrightText, Checksum sha1)Build a file with the required parameters -
Uses of Checksum in org.spdx.utility.compare
Methods in org.spdx.utility.compare that return types with arguments of type Checksum Modifier and Type Method Description static List<Checksum>SpdxComparer. findUniqueChecksums(Collection<Checksum> checksumsA, Collection<Checksum> checksumsB)Find any SPDX checksums which are in elementsA but not in elementsBList<Checksum>SpdxFileComparer. getUniqueChecksums(SpdxDocument docA, SpdxDocument docB)Get the checksums which are present in the file contained document A but not in document BList<Checksum>SpdxPackageComparer. getUniqueChecksums(SpdxDocument docA, SpdxDocument docB)Get the checksums which are present in document A but not in document BList<Checksum>SpdxFileDifference. getUniqueChecksumsA()List<Checksum>SpdxFileDifference. getUniqueChecksumsB()Method parameters in org.spdx.utility.compare with type arguments of type Checksum Modifier and Type Method Description static List<Checksum>SpdxComparer. findUniqueChecksums(Collection<Checksum> checksumsA, Collection<Checksum> checksumsB)Find any SPDX checksums which are in elementsA but not in elementsB