org.sonar.squid.indexer
Class QueryByType

java.lang.Object
  extended by org.sonar.squid.indexer.QueryByType
All Implemented Interfaces:
Query

public class QueryByType
extends Object
implements Query


Constructor Summary
QueryByType(Class<? extends SourceCode> resourceType)
           
 
Method Summary
 boolean match(SourceCode unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryByType

public QueryByType(Class<? extends SourceCode> resourceType)
Method Detail

match

public boolean match(SourceCode unit)
Specified by:
match in interface Query


Copyright © 2009 SonarSource SA. All Rights Reserved.