public class CodeNarcSensor extends Object implements org.sonar.api.batch.Sensor
| Constructor and Description |
|---|
CodeNarcSensor(org.sonar.api.profiles.RulesProfile profile,
org.sonar.api.rules.RuleFinder ruleFinder,
CodeNarcProfileExporter profileExporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context) |
boolean |
shouldExecuteOnProject(org.sonar.api.resources.Project project) |
String |
toString() |
public CodeNarcSensor(org.sonar.api.profiles.RulesProfile profile,
org.sonar.api.rules.RuleFinder ruleFinder,
CodeNarcProfileExporter profileExporter)
public boolean shouldExecuteOnProject(org.sonar.api.resources.Project project)
shouldExecuteOnProject in interface org.sonar.api.batch.CheckProjectpublic void analyse(org.sonar.api.resources.Project project,
org.sonar.api.batch.SensorContext context)
analyse in interface org.sonar.api.batch.SensorCopyright © 2010-2012 SonarSource. All Rights Reserved.