Class CloudformationSensor
java.lang.Object
org.sonar.iac.common.extension.IacSensor
org.sonar.iac.common.yaml.YamlSensor
org.sonar.iac.cloudformation.plugin.CloudformationSensor
- All Implemented Interfaces:
org.sonar.api.batch.sensor.Sensor,org.sonar.api.scanner.sensor.ProjectSensor
-
Field Summary
Fields inherited from class org.sonar.iac.common.yaml.YamlSensor
checks, FILE_SEPERATOR, JSON_LANGUAGE_KEY, YAML_LANGUAGE_KEYFields inherited from class org.sonar.iac.common.extension.IacSensor
fileLinesContextFactory, language, noSonarFilter, sonarRuntime -
Constructor Summary
ConstructorsConstructorDescriptionCloudformationSensor(org.sonar.api.SonarRuntime sonarRuntime, org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory, org.sonar.api.batch.rule.CheckFactory checkFactory, org.sonar.api.issue.NoSonarFilter noSonarFilter, CloudformationLanguage language) CloudformationSensor(org.sonar.api.SonarRuntime sonarRuntime, org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory, org.sonar.api.batch.rule.CheckFactory checkFactory, org.sonar.api.issue.NoSonarFilter noSonarFilter, CloudformationLanguage language, AnalysisWarningsWrapper analysisWarnings) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.sonar.api.batch.fs.FilePredicatecustomFilePredicate(org.sonar.api.batch.sensor.SensorContext sensorContext) protected Stringprotected voidimportExternalReports(org.sonar.api.batch.sensor.SensorContext sensorContext) protected Stringprotected TreeParser<Tree>Methods inherited from class org.sonar.iac.common.yaml.YamlSensor
describe, mainFilePredicate, toParseException, visitorsMethods inherited from class org.sonar.iac.common.extension.IacSensor
execute, isNotSonarLintContext
-
Constructor Details
-
CloudformationSensor
public CloudformationSensor(org.sonar.api.SonarRuntime sonarRuntime, org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory, org.sonar.api.batch.rule.CheckFactory checkFactory, org.sonar.api.issue.NoSonarFilter noSonarFilter, CloudformationLanguage language) -
CloudformationSensor
public CloudformationSensor(org.sonar.api.SonarRuntime sonarRuntime, org.sonar.api.measures.FileLinesContextFactory fileLinesContextFactory, org.sonar.api.batch.rule.CheckFactory checkFactory, org.sonar.api.issue.NoSonarFilter noSonarFilter, CloudformationLanguage language, AnalysisWarningsWrapper analysisWarnings)
-
-
Method Details
-
treeParser
- Overrides:
treeParserin classYamlSensor
-
customFilePredicate
protected org.sonar.api.batch.fs.FilePredicate customFilePredicate(org.sonar.api.batch.sensor.SensorContext sensorContext) - Specified by:
customFilePredicatein classYamlSensor
-
repositoryKey
- Specified by:
repositoryKeyin classIacSensor
-
importExternalReports
protected void importExternalReports(org.sonar.api.batch.sensor.SensorContext sensorContext) - Overrides:
importExternalReportsin classIacSensor
-
getActivationSettingKey
- Specified by:
getActivationSettingKeyin classIacSensor
-