Class GeneratedFileFilter

java.lang.Object
org.sonarsource.dotnet.shared.plugins.GeneratedFileFilter
All Implemented Interfaces:
org.sonar.api.batch.fs.InputFileFilter

public class GeneratedFileFilter extends Object implements org.sonar.api.batch.fs.InputFileFilter
This class allows to filter files to process based on whether or not they are auto-generated. This filter refuses (filters) all generated files. Note: the InputFileFilter, starting the scanner-api version 7.6, is evaluated at solution (scanner "project") level, thus all its dependencies must be instantiated at solution level.
  • Constructor Details

  • Method Details

    • accept

      public boolean accept(org.sonar.api.batch.fs.InputFile inputFile)
      Specified by:
      accept in interface org.sonar.api.batch.fs.InputFileFilter