org.sonar.squid.indexer
Class SquidIndex

java.lang.Object
  extended by org.sonar.squid.indexer.SquidIndex
All Implemented Interfaces:
SourceCodeIndexer, SourceCodeSearchEngine

public class SquidIndex
extends Object
implements SourceCodeIndexer, SourceCodeSearchEngine


Constructor Summary
SquidIndex()
           
 
Method Summary
 void index(SourceCode sourceCode)
           
 Collection<SourceCode> search(Query... query)
           
 SourceCode search(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquidIndex

public SquidIndex()
Method Detail

search

public Collection<SourceCode> search(Query... query)
Specified by:
search in interface SourceCodeSearchEngine

search

public SourceCode search(String key)
Specified by:
search in interface SourceCodeSearchEngine

index

public void index(SourceCode sourceCode)
Specified by:
index in interface SourceCodeIndexer


Copyright © 2009-2012 SonarSource. All Rights Reserved.