Uploaded image for project: 'SonarQube Scanner API'
  1. SonarQube Scanner API
  2. SCANNERAPI-143

New API to retrieve issues produced by the analysis

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: API
    • Labels:
      None

      Description

      To replace the current "JSON report API" that is not very optimal we need a Java API that will allow client to retrieve issues resulting from local analysis (after issue tracking).

      Maybe some kind of callback:

      embeddedRunner.addIssueListener() {
        new IssueListener() {
          public void process(Issue issue) {
            // Do something with 
            issue.key()
            issue.ruleKey()
            issue.ruleName()
            issue.message()
            [...]
          }
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: