Class RuleIssue

java.lang.Object
io.codemodder.providers.sonar.RuleIssue
All Implemented Interfaces:
RuleFinding<io.codemodder.sonar.model.Issue>

public final class RuleIssue extends Object
Class type to bind Issue from ProvidedSonarScan
  • Method Details

    • getResultsByPath

      public List<io.codemodder.sonar.model.Issue> getResultsByPath(Path path)
      Description copied from interface: RuleFinding
      A list of findings associated with the given path.
      Specified by:
      getResultsByPath in interface RuleFinding<T extends io.codemodder.sonar.model.SonarFinding>
    • hasResults

      public boolean hasResults()
      Description copied from interface: RuleFinding
      Whether any results are available.
      Specified by:
      hasResults in interface RuleFinding<T extends io.codemodder.sonar.model.SonarFinding>