Package com.hack23.sonar.cloudformation
Class CloudformationSensor
java.lang.Object
com.hack23.sonar.cloudformation.CloudformationSensor
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor
,org.sonar.api.scanner.sensor.ProjectSensor
The Class CloudformationSensor.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCloudformationSensor
(CloudformationSensorConfiguration configuration, org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.api.scan.filesystem.PathResolver pathResolver) Instantiates a new cloudformation sensor. -
Method Summary
-
Field Details
-
SENSOR_NAME
The Constant SENSOR_NAME.- See Also:
-
-
Constructor Details
-
CloudformationSensor
public CloudformationSensor(CloudformationSensorConfiguration configuration, org.sonar.api.batch.fs.FileSystem fileSystem, org.sonar.api.scan.filesystem.PathResolver pathResolver) Instantiates a new cloudformation sensor.- Parameters:
configuration
- the configurationfileSystem
- the file systempathResolver
- the path resolver
-
-
Method Details
-
describe
public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor) Describe.- Specified by:
describe
in interfaceorg.sonar.api.scanner.sensor.ProjectSensor
- Specified by:
describe
in interfaceorg.sonar.api.batch.sensor.Sensor
- Parameters:
descriptor
- the descriptor
-
execute
public void execute(org.sonar.api.batch.sensor.SensorContext context) Execute.- Specified by:
execute
in interfaceorg.sonar.api.scanner.sensor.ProjectSensor
- Specified by:
execute
in interfaceorg.sonar.api.batch.sensor.Sensor
- Parameters:
context
- the context
-