IReportIssuesToPullRequestSettings Interface

Summary

Interface for settings affecting how issues are reported to pull requests.
graph BT Type-.->Interface0["IRepositorySettings"] click Interface0 "/api/Cake.Issues/IRepositorySettings" Type["IReportIssuesToPullRequestSettings"] class Type type-node Implementing0["ReportIssuesToPullRequestFromIssueProviderSettings"]-.->Type click Implementing0 "/api/Cake.Issues.PullRequests/ReportIssuesToPullRequestFromIssueProviderSettings" Implementing1["IReportIssuesToPullRequestFromIssueProviderSettings"]-.->Type click Implementing1 "/api/Cake.Issues.PullRequests/IReportIssuesToPullRequestFromIssueProviderSettings" Implementing2["ReportIssuesToPullRequestSettings"]-.->Type click Implementing2 "/api/Cake.Issues.PullRequests/ReportIssuesToPullRequestSettings"

Syntax

public interface IReportIssuesToPullRequestSettings : IRepositorySettings

Properties

Name Value Summary
CommentSource string
Gets or sets a value used to decorate comments created by this add-in. Only comments with the same source will be resolved.
CommitId string
Gets or sets the hash of the commit for which the issues were reported.
IssueFilters IList<Func<IEnumerable<IIssue>, IEnumerable<IIssue>>>
Gets list of filter functions which should be applied before posting issues to pull requests.
MaxIssuesToPost Nullable<int>
Gets or sets the global number of issues which should be posted at maximum over all IIssueProvider. Issues are filtered by Priority and issues with an AffectedFileRelativePath are prioritized. Default is null which won't set a global limit. Use MaxIssuesToPostAcrossRuns to set a limit across multiple runs.
MaxIssuesToPostAcrossRuns Nullable<int>
Gets or sets the global number of issues which should be posted at maximum over all IIssueProvider and across multiple runs. Issues are filtered by Priority and issues with an AffectedFileRelativePath are prioritized. Default is null which won't set a limit across multiple runs. Use MaxIssuesToPost to set a limit for a single run.
MaxIssuesToPostForEachIssueProvider Nullable<int>
Gets or sets the number of issues which should be posted at maximum for each IIssueProvider. Issues are filtered by Priority and issues with an AffectedFileRelativePath are prioritized. null won't limit issues per issue provider. Default is to filter to 100 issues for each issue provider. Use ProviderIssueLimits to set limits for individual issue providers.
ProviderIssueLimits Dictionary<string, IProviderIssueLimits>
Gets the issue limits for individual IIssueProvider. The key must be the ProviderType of a specific provider to which the limits should be applied to. Use MaxIssuesToPostForEachIssueProvider to set the same limit to all issue providers.

Extension Methods

Name Value Summary
NotNull<IReportIssuesToPullRequestSettings>(string) void
Throws an exception if the specified parameter's value is null.
GitHub