Package org.ossreviewtoolkit.model
Class ProvenanceResolutionResult
-
- All Implemented Interfaces:
public final class ProvenanceResolutionResultThis class holds the results of the provenance resolution for the package denoted by id. The provenance resolution consists of root provenance resolution and nested provenance resolution - that is, determining the sub-repositories of the root provenance. The information tells what has been scanned, or in case of an issues, what problems happened during provenance resolution.
-
-
Field Summary
Fields Modifier and Type Field Description private final Identifieridprivate final KnownProvenancepackageProvenanceprivate final Map<String, VcsInfo>subRepositoriesprivate final IssuepackageProvenanceResolutionIssueprivate final IssuenestedProvenanceResolutionIssue
-
Constructor Summary
Constructors Constructor Description ProvenanceResolutionResult(Identifier id, KnownProvenance packageProvenance, Map<String, VcsInfo> subRepositories, Issue packageProvenanceResolutionIssue, Issue nestedProvenanceResolutionIssue)
-
Method Summary
Modifier and Type Method Description final IdentifiergetId()The identifier of package. final KnownProvenancegetPackageProvenance()The resolved provenance of the package. final Map<String, VcsInfo>getSubRepositories()The (recursive) sub-repositories of packageProvenance. final IssuegetPackageProvenanceResolutionIssue()The issue which happened during package provenance resolution. final IssuegetNestedProvenanceResolutionIssue()The issue which happened during nested provenance resolution. -
-
Constructor Detail
-
ProvenanceResolutionResult
ProvenanceResolutionResult(Identifier id, KnownProvenance packageProvenance, Map<String, VcsInfo> subRepositories, Issue packageProvenanceResolutionIssue, Issue nestedProvenanceResolutionIssue)
-
-
Method Detail
-
getId
final Identifier getId()
The identifier of package.
-
getPackageProvenance
final KnownProvenance getPackageProvenance()
The resolved provenance of the package.
-
getSubRepositories
final Map<String, VcsInfo> getSubRepositories()
The (recursive) sub-repositories of packageProvenance. The listing is only empty if a packageProvenanceResolutionIssue or a nestedProvenanceResolutionIssue happened.
-
getPackageProvenanceResolutionIssue
final Issue getPackageProvenanceResolutionIssue()
The issue which happened during package provenance resolution.
-
getNestedProvenanceResolutionIssue
final Issue getNestedProvenanceResolutionIssue()
The issue which happened during nested provenance resolution.
-
-
-
-