public class PmdSensor extends Object implements Sensor
FLAG_SQUID_ANALYSIS| Constructor and Description |
|---|
PmdSensor(RulesProfile profile,
PmdExecutor executor,
PmdViolationToRuleViolation pmdViolationToRuleViolation) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyse(Project project,
SensorContext context)
The method that is going to be run when the sensor is called
|
boolean |
shouldExecuteOnProject(Project project) |
String |
toString() |
public PmdSensor(RulesProfile profile, PmdExecutor executor, PmdViolationToRuleViolation pmdViolationToRuleViolation)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject in interface CheckProjectpublic void analyse(Project project, SensorContext context)
SensorCopyright © 2009-2012 SonarSource. All Rights Reserved.