org.sonar.batch.scan
Class SensorWrapper

java.lang.Object
  extended by org.sonar.batch.scan.SensorWrapper
All Implemented Interfaces:
CheckProject, Sensor, BatchComponent, BatchExtension, Extension

public class SensorWrapper
extends Object
implements Sensor


Field Summary
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
SensorWrapper(Sensor newSensor, SensorContext adaptor, AnalyzerOptimizer optimizer)
           
 
Method Summary
 void analyse(Project module, SensorContext context)
           
 List<Metric> depends()
           
 List<Metric> provides()
           
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 Sensor wrappedSensor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SensorWrapper

public SensorWrapper(Sensor newSensor,
                     SensorContext adaptor,
                     AnalyzerOptimizer optimizer)
Method Detail

wrappedSensor

public Sensor wrappedSensor()

provides

public List<Metric> provides()

depends

public List<Metric> depends()

shouldExecuteOnProject

public boolean shouldExecuteOnProject(Project project)
Specified by:
shouldExecuteOnProject in interface CheckProject

analyse

public void analyse(Project module,
                    SensorContext context)
Specified by:
analyse in interface Sensor

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009–2015 SonarSource. All rights reserved.