public class SarifSchema210LogicSupport
extends java.lang.Object
| Constructor and Description |
|---|
SarifSchema210LogicSupport() |
| Modifier and Type | Method and Description |
|---|---|
ReportingDescriptor |
fetchRuleForResult(Result result,
Run run)
Fetch rule for result.
|
Result.Level |
resolveLevel(Result result,
Run run)
Resolves the result level.
|
public ReportingDescriptor fetchRuleForResult(Result result, Run run)
result - - the resultrun - - the run whose tool contains the rule whose id is referenced
by the given result objectpublic Result.Level resolveLevel(Result result, Run run)
Result.Level.WARNING is
returned.result - run -