Class RoslynProfileExporter
java.lang.Object
org.sonar.api.profiles.ProfileExporter
org.sonarsource.dotnet.shared.plugins.RoslynProfileExporter
public class RoslynProfileExporter
extends org.sonar.api.profiles.ProfileExporter
This profile exporter was build to be used by the SonarQube SonarScanner for .NET (S4MSB) during the Begin step,
to download the SonarLint.xml.
However, starting 2016, it is not used anymore. See commit ce945d inside the S4MSB repo.
To see the defaults of the settings, see AbstractPropertyDefinitions.java
See https://github.com/SonarSource/sonar-scanner-msbuild/blob/4.6.1.2049/src/SonarScanner.MSBuild.PreProcessor/Roslyn/RoslynAnalyzerProvider.cs#L150
-
Constructor Summary
ConstructorsConstructorDescriptionRoslynProfileExporter(DotNetPluginMetadata pluginMetadata, org.sonar.api.config.Configuration configuration, org.sonar.api.server.rule.RulesDefinition[] rulesDefinitions) -
Method Summary
Modifier and TypeMethodDescriptionactiveRoslynRulesByPartialRepoKey(DotNetPluginMetadata pluginMetadata, Iterable<org.sonar.api.rule.RuleKey> activeRules) voidexportProfile(org.sonar.api.profiles.RulesProfile rulesProfile, Writer writer) static List<org.sonar.api.config.PropertyDefinition>sonarLintRepositoryProperties(DotNetPluginMetadata pluginMetadata) Methods inherited from class org.sonar.api.profiles.ProfileExporter
equals, getKey, getMimeType, getName, getSupportedLanguages, hashCode, setKey, setMimeType, setName, setSupportedLanguages, toString
-
Constructor Details
-
Method Details
-
exportProfile
- Specified by:
exportProfilein classorg.sonar.api.profiles.ProfileExporter