org.sonar.api.batch
Interface ResourceFilter

All Superinterfaces:
BatchComponent, BatchExtension, Extension

Deprecated. since 4.2. Analysis is file-system oriented. See org.sonar.api.scan.filesystem.InputFileFilter

@Deprecated
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)
          Deprecated. Return true if the resource must be ignored, else it's saved into database.
 

Method Detail

isIgnored

boolean isIgnored(Resource resource)
Deprecated. 
Return true if the resource must be ignored, else it's saved into database.



Copyright © 2009–2015 SonarSource. All rights reserved.