Package org.ossreviewtoolkit.model
Class CuratedPackage
-
- All Implemented Interfaces:
public final class CuratedPackageA Package including the PackageCurationResults that were applied to it, in order to be able to trace back how the original metadata of the package was modified by applying PackageCurations.
-
-
Field Summary
Fields Modifier and Type Field Description private final Packagemetadataprivate final List<PackageCurationResult>curations
-
Constructor Summary
Constructors Constructor Description CuratedPackage(Package metadata, List<PackageCurationResult> curations)
-
Method Summary
Modifier and Type Method Description final PackagegetMetadata()The curated package after applying the curations. final List<PackageCurationResult>getCurations()The curations in the order they were applied. final Map<String, SpdxExpression>getDeclaredLicenseMapping()-
-
Constructor Detail
-
CuratedPackage
CuratedPackage(Package metadata, List<PackageCurationResult> curations)
-
-
Method Detail
-
getMetadata
final Package getMetadata()
The curated package after applying the curations.
-
getCurations
final List<PackageCurationResult> getCurations()
The curations in the order they were applied.
-
getDeclaredLicenseMapping
final Map<String, SpdxExpression> getDeclaredLicenseMapping()
-
-
-
-