class GolangCILintReportSensor implements Sensor {

  @Override
  public void describe(SensorDescriptor sensorDescriptor) {
    sensorDescriptor
      .onlyOnLanguage(GoLanguage.KEY)
      .onlyWhenConfiguration(conf -> conf.hasKey(PROPERTY_KEY))
      .name("Import of GolangCI-Lint issues");
  }

}