Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6535

API cleanup: deprecate BatchComponent and ServerComponent

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Plugin API
    • Labels:
      None

      Description

      The word "component" is reserved to objects of the project tree (project, module, directories, files).

      But it was previously used to identify objects that are injected into SonarQube IoC container. To avoid confusion the two marker interfaces BatchComponent and ServerComponent should be replaced.

      Proposal: use annotations

      • BatchComponent -> @BatchSide
      • ServerComponent -> @ServerSide
      • Extension -> @ExtensionPoint
      • BatchExtension -> @BatchSide + @ExtensionPoint
      • ServerExtension -> @ServerSide + @ExtensionPoint

        Attachments

          Activity

            People

            Assignee:
            henryju OLD - Julien HENRY
            Reporter:
            henryju OLD - Julien HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: