Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3965

Provide a new extensible API for issue reporting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: Java API
    • Labels:
      None

      Description

      The current way of reporting issues from SonarJava rules is painful to maintain and to improve over time.
      Change after change, numerous new more complicated methods have been introduced, with more and more parameters and more ambiguities about which one to use in which context.

      We want to provide a new, modern way, of reporting issues from rules, following a fluent-API approach based on an extensible builder pattern.

      This new way of reporting is going to be released in two steps:

      1. This new API is going to be used internally on existing rules in a first phase.
      2. It will be exposed as a public API of the Java plugin only in a future release yet undefined (7.4? 7.5?).

      This period will let us the possibility to rework it freely, without impacting our community and custom rules.

        Attachments

          Activity

            People

            Assignee:
            quentin.jaquier Quentin Jaquier
            Reporter:
            michael.gumowski Michael Gumowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: