org.sonar.plugins.cpd
Class SonarEngine

java.lang.Object
  extended by org.sonar.plugins.cpd.CpdEngine
      extended by org.sonar.plugins.cpd.SonarEngine
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension

public class SonarEngine
extends CpdEngine


Constructor Summary
SonarEngine()
          For dry run, where is no access to database.
SonarEngine(ResourcePersister resourcePersister, DuplicationDao dao)
           
 
Method Summary
 void analyse(Project project, SensorContext context)
           
 boolean isLanguageSupported(Language language)
           
 
Methods inherited from class org.sonar.plugins.cpd.CpdEngine
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SonarEngine

public SonarEngine()
For dry run, where is no access to database.


SonarEngine

public SonarEngine(ResourcePersister resourcePersister,
                   DuplicationDao dao)
Method Detail

isLanguageSupported

public boolean isLanguageSupported(Language language)

analyse

public void analyse(Project project,
                    SensorContext context)


Copyright © 2009-2011 SonarSource. All Rights Reserved.