public class DeprecatedResourceApiSensor extends Object implements Sensor
Modifier and Type | Field and Description |
---|---|
static String |
RULE_KEY |
FLAG_SQUID_ANALYSIS
Constructor and Description |
---|
DeprecatedResourceApiSensor(ModuleFileSystem fileSystem,
ResourcePerspectives perspectives,
ActiveRules activeRules) |
Modifier and Type | Method and Description |
---|---|
void |
analyse(Project module,
SensorContext context)
The method that is going to be run when the sensor is called
|
boolean |
shouldExecuteOnProject(Project project) |
public static final String RULE_KEY
public DeprecatedResourceApiSensor(ModuleFileSystem fileSystem, ResourcePerspectives perspectives, ActiveRules activeRules)
public boolean shouldExecuteOnProject(Project project)
shouldExecuteOnProject
in interface CheckProject
Copyright © 2009–2015 SonarSource. All rights reserved.