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

InputFileFilters can't access module properties

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugin API, Scanner
    • Labels:
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Plugins implementing a InputFileFilter only have access to global properties. These classes are instantiated in the global container but are used to define what files are indexed in all modules of the project.

      Plugins can access properties for all modules using a ProjectBuilder, but it's a workaround and the class is deprecated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: