org.sonar.squid.indexer
Class QueryByName

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

public class QueryByName
extends Object
implements Query


Constructor Summary
QueryByName(String resourceName)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean match(SourceCode unit)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryByName

public QueryByName(String resourceName)
Method Detail

match

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2012 SonarSource. All Rights Reserved.