Package org.ossreviewtoolkit.model.utils
Interface ResolutionProvider
-
- All Implemented Interfaces:
public interface ResolutionProviderAn interface to provide resolutions for Issues, RuleViolations and Vulnerabilitys .
-
-
Method Summary
Modifier and Type Method Description abstract List<IssueResolution>getIssueResolutionsFor(Issue issue)Get all issue resolutions that match issue. abstract List<RuleViolationResolution>getRuleViolationResolutionsFor(RuleViolation violation)Get all rule violation resolutions that match violation. abstract List<VulnerabilityResolution>getVulnerabilityResolutionsFor(Vulnerability vulnerability)Get all vulnerability resolutions that match vulnerability. BooleanisResolved(Issue issue)Return true if there is at least one issue resolution that matches issue. BooleanisResolved(RuleViolation violation)Return true if there is at least one rule violation resolution that matches violation. BooleanisResolved(Vulnerability vulnerability)Return true if there is at least one vulnerability resolution that matches vulnerability. -
-
Method Detail
-
getIssueResolutionsFor
abstract List<IssueResolution> getIssueResolutionsFor(Issue issue)
Get all issue resolutions that match issue.
-
getRuleViolationResolutionsFor
abstract List<RuleViolationResolution> getRuleViolationResolutionsFor(RuleViolation violation)
Get all rule violation resolutions that match violation.
-
getVulnerabilityResolutionsFor
abstract List<VulnerabilityResolution> getVulnerabilityResolutionsFor(Vulnerability vulnerability)
Get all vulnerability resolutions that match vulnerability.
-
isResolved
Boolean isResolved(Issue issue)
Return true if there is at least one issue resolution that matches issue.
-
isResolved
Boolean isResolved(RuleViolation violation)
Return true if there is at least one rule violation resolution that matches violation.
-
isResolved
Boolean isResolved(Vulnerability vulnerability)
Return true if there is at least one vulnerability resolution that matches vulnerability.
-
-
-
-