org.sonar.api.batch
Interface ResourceFilter
- All Superinterfaces:
- BatchComponent, BatchExtension, Extension
public interface ResourceFilter
- extends BatchExtension
Filter resources to save. For example, ignore a resource if its path matches an exclusion pattern (defined on the project).
Filters are applied to files, directories and packages only.
If the method start(), without parameters, exists, then it is executed at startup.
- Since:
- 1.12
Method Summary |
boolean |
isIgnored(Resource resource)
Return true if the resource must be ignored, else it's saved into database. |
isIgnored
boolean isIgnored(Resource resource)
- Return true if the resource must be ignored, else it's saved into database.
Copyright © 2009-2013 SonarSource. All Rights Reserved.