org.sonar.api.batch
Interface ResourceFilter

All Superinterfaces:
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)

Since:
1.12

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

Method Detail

isIgnored

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



Copyright © 2009-2010 SonarSource SA. All Rights Reserved.