Class AbstractPropertyDefinitions

java.lang.Object
org.sonarsource.dotnet.shared.plugins.AbstractPropertyDefinitions

public abstract class AbstractPropertyDefinitions extends Object
This class is responsible to declare all the properties that can be set through SonarQube/SonarCloud UI (settings page).
  • Field Details

  • Constructor Details

    • AbstractPropertyDefinitions

      public AbstractPropertyDefinitions(String languageKey, String languageName, String fileSuffixDefaultValue, org.sonar.api.SonarRuntime runtime)
  • Method Details

    • create

      public List<org.sonar.api.config.PropertyDefinition> create()
    • getIgnoreHeaderCommentsProperty

      public static String getIgnoreHeaderCommentsProperty(String languageKey)
    • getAnalyzeGeneratedCode

      public static String getAnalyzeGeneratedCode(String languageKey)
    • getFileSuffixProperty

      public static String getFileSuffixProperty(String languageKey)
    • getRoslynJsonReportPathProperty

      public static String getRoslynJsonReportPathProperty(String languageKey)
    • getAnalyzerWorkDirProperty

      public static String getAnalyzerWorkDirProperty(String languageKey)
    • getIgnoreIssuesProperty

      public static String getIgnoreIssuesProperty(String languageKey)
    • getBugCategoriesProperty

      public static String getBugCategoriesProperty(String languageKey)
    • getCodeSmellCategoriesProperty

      public static String getCodeSmellCategoriesProperty(String languageKey)
    • getVulnerabilityCategoriesProperty

      public static String getVulnerabilityCategoriesProperty(String languageKey)
    • getPullRequestCacheBasePath

      public static String getPullRequestCacheBasePath()
    • getPullRequestBase

      public static String getPullRequestBase()