crusade-tracker/system/caches/pluginsDslCache/doc/jetbrains.build-server.configs.kotlin.v2017_2.build-features/-pull-requests/index.html
2021-01-18 15:27:50 -05:00

180 lines
11 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>PullRequests - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures</a>&nbsp;/&nbsp;<a href="./index.html">PullRequests</a><br/>
<br/>
<h1>PullRequests</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">PullRequests</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/index.html"><span class="identifier">BuildFeature</span></a></code>
<p>A <a href="https://www.jetbrains.com/help/teamcity/?Pull+Requests">build feature</a> that introduces GitHub pull requests integration</p>
<p><strong>See Also</strong><br/>
<p><a href="../pull-requests.html">pullRequests</a></p>
</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-git-hub-role-filter/index.html">GitHubRoleFilter</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">GitHubRoleFilter</span></code>
<p>Pull request contributor role filter options</p>
</td>
</tr>
<tr>
<td>
<p><a href="-provider/index.html">Provider</a></p>
</td>
<td>
<code><span class="keyword">sealed</span> <span class="keyword">class </span><span class="identifier">Provider</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-compound-param/index.html"><span class="identifier">CompoundParam</span></a><span class="symbol">&lt;</span><a href="-provider/index.html"><span class="identifier">Provider</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">PullRequests</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">PullRequests</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span></code><code><span class="identifier">PullRequests</span><span class="symbol">(</span><span class="symbol">)</span></code>
<p>A <a href="https://www.jetbrains.com/help/teamcity/?Pull+Requests">build feature</a> that introduces GitHub pull requests integration</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="provider.html">provider</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">provider</span><span class="symbol">: </span><a href="-provider/index.html"><span class="identifier">Provider</span></a><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<p><a href="vcs-root-ext-id.html">vcsRootExtId</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">vcsRootExtId</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Id of the VCS root to extract pull request information from.
Set to an empty string to extract pull request information from the first VCS root attached to a build configuration.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/enabled.html">enabled</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">enabled</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
<p>Specifies whether the feature is enabled, true by default</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/id.html">id</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">id</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
<p>Build feature id, if not specified will be generated</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/type.html">type</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">type</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Build feature type</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="azure-dev-ops.html">azureDevOps</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">azureDevOps</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$azureDevOps(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests.Provider.AzureDevOps, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-provider/-azure-dev-ops/index.html"><span class="identifier">AzureDevOps</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-provider/-azure-dev-ops/index.html"><span class="identifier">AzureDevOps</span></a></code>
<p>Azure DevOps Services/Server</p>
</td>
</tr>
<tr>
<td>
<p><a href="bitbucket-server.html">bitbucketServer</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">bitbucketServer</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$bitbucketServer(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests.Provider.BitbucketServer, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-provider/-bitbucket-server/index.html"><span class="identifier">BitbucketServer</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-provider/-bitbucket-server/index.html"><span class="identifier">BitbucketServer</span></a></code>
<p>Bitbucket Server</p>
</td>
</tr>
<tr>
<td>
<p><a href="github.html">github</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">github</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$github(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests.Provider.Github, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-provider/-github/index.html"><span class="identifier">Github</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-provider/-github/index.html"><span class="identifier">Github</span></a></code>
<p>GitHub or GitHub Enterprise</p>
</td>
</tr>
<tr>
<td>
<p><a href="gitlab.html">gitlab</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">gitlab</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$gitlab(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests.Provider.Gitlab, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-provider/-gitlab/index.html"><span class="identifier">Gitlab</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;{}<span class="symbol">)</span><span class="symbol">: </span><a href="-provider/-gitlab/index.html"><span class="identifier">Gitlab</span></a></code>
<p>GitLab.com or GitLab CE/EE</p>
</td>
</tr>
<tr>
<td>
<p><a href="validate.html">validate</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">validate</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.PullRequests$validate(jetbrains.buildServer.configs.kotlin.v2017_2.ErrorConsumer)/consumer">consumer</span><span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-error-consumer/index.html"><span class="identifier">ErrorConsumer</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Validates this object and reports found errors to the provided consumer</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/create.html">create</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/index.html"><span class="identifier">BuildFeature</span></a></code>
<p>Creates an instance of this build feature via reflection using a no argument constructor,
used during copying. Throws an error if this class doesn't have a default constructor.
Subclasses can override it to create an instance without using a default constructor.</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v2017_2/-build-feature/to-string.html">toString</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toString</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>