SonarSettings Class

Assembly
Cake.Sonar.dll
Namespace
Cake.Sonar
Base Types
  • ToolSettings
Derived Types
graph BT Type-->Base0["ToolSettings"] Type["SonarSettings"] class Type type-node Derived0["SonarEndSettings"]-->Type click Derived0 "/api/Cake.Sonar/SonarEndSettings" Derived1["SonarBeginSettings"]-->Type click Derived1 "/api/Cake.Sonar/SonarBeginSettings"

Syntax

public abstract class SonarSettings : ToolSettings

Constructors

Name Summary
SonarSettings()

Properties

Name Value Summary
Login string
Login to use for connecting to sonar.
Password string
Password to use for connecting to sonar.
Silent bool
Suppress standard output from the sonar runner.
Token string
The authentication token of a SonarQube user with either Execute Analysis permission on the project or Global Execute Analysis permission.
UseCoreClr bool
Use .NET Core version of the SonarQube scanner in case of a .NET Core build.

Methods

Extension Methods

Name Value Summary
Dump<SonarSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SonarSettings>(SonarSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SonarSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SonarSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SonarSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<SonarSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin