GitLabCodeQualitySettings Class

Summary

Contains the settings used when converting a dotnet-outdated report to a GitLab Code Quality report.
Assembly
Cake.DotNetOutdated.dll
Namespace
Cake.DotNetOutdated.GitLab
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitLabCodeQualitySettings"] class Type type-node

Syntax

public class GitLabCodeQualitySettings

Constructors

Properties

Name Value Summary
MajorSeverity GitLabCodeQualitySeverity
Gets or sets the severity used for major upgrades. Defaults to Major.
MinimumUpgradeSeverity DotNetOutdatedUpgradeSeverity
Gets or sets the lowest upgrade severity that is reported. Defaults to Patch (everything). Findings whose severity is Unknown are always reported. Use Patch, Minor or Major; Unknown orders above Major, so setting it reports only findings whose severity is unknown.
MinorSeverity GitLabCodeQualitySeverity
Gets or sets the severity used for minor upgrades. Defaults to Minor.
PatchSeverity GitLabCodeQualitySeverity
Gets or sets the severity used for patch upgrades. Defaults to Info.
RepositoryRoot DirectoryPath
Gets or sets the repository root that finding paths are made relative to. Defaults to the Cake working directory.
UnknownSeverity GitLabCodeQualitySeverity
Gets or sets the severity used when the upgrade severity is unknown. Defaults to Info.

Extension Methods

Name Value Summary
Dump<GitLabCodeQualitySettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitLabCodeQualitySettings>(GitLabCodeQualitySettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitLabCodeQualitySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitLabCodeQualitySettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitLabCodeQualitySettings>(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<GitLabCodeQualitySettings>(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
Requires the Cake.Issues addin