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

public final class CloudformationSensor extends Object implements org.sonar.api.batch.sensor.Sensor
The Class CloudformationSensor.
  • Field Details

  • 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 configuration
      fileSystem - the file system
      pathResolver - the path resolver
  • Method Details

    • describe

      public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
      Describe.
      Specified by:
      describe in interface org.sonar.api.scanner.sensor.ProjectSensor
      Specified by:
      describe in interface org.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 interface org.sonar.api.scanner.sensor.ProjectSensor
      Specified by:
      execute in interface org.sonar.api.batch.sensor.Sensor
      Parameters:
      context - the context