org.sonar.batch.rule
Class QProfileSensor

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

public class QProfileSensor
extends Object
implements Sensor

Stores which Quality profiles have been used on the current module.


Field Summary
 
Fields inherited from interface org.sonar.api.batch.Sensor
FLAG_SQUID_ANALYSIS
 
Constructor Summary
QProfileSensor(ModuleQProfiles moduleQProfiles, FileSystem fs)
           
 
Method Summary
 void analyse(Project project, SensorContext context)
           
 boolean shouldExecuteOnProject(Project project)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QProfileSensor

public QProfileSensor(ModuleQProfiles moduleQProfiles,
                      FileSystem fs)
Method Detail

shouldExecuteOnProject

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

analyse

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009–2015 SonarSource. All rights reserved.