Class SpdxPackageComparer


  • public class SpdxPackageComparer
    extends SpdxItemComparer
    Compares two SPDX package. The compare(pkgA, pkgB) method will perform the comparison and store the results. isDifferenceFound() will return true of any differences were found.
    Author:
    Gary O'Neall
    • Constructor Detail

      • SpdxPackageComparer

        public SpdxPackageComparer​(Map<org.spdx.library.model.v2.SpdxDocument,​Map<org.spdx.library.model.v2.SpdxDocument,​Map<String,​String>>> extractedLicenseIdMap)
        Parameters:
        extractedLicenseIdMap - map of all extracted license IDs for any SPDX documents to be added to the comparer