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

228 lines
12 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Notifications - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10.buildFeatures</a>&nbsp;/&nbsp;<a href="./index.html">Notifications</a><br/>
<br/>
<h1>Notifications</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Notifications</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v10/-build-feature/index.html"><span class="identifier">BuildFeature</span></a></code>
<p>Build feature for notification rule</p>
<p><strong>See Also</strong><br/>
<p><a href="../notifications.html">notifications</a></p>
</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-notifier-settings/index.html">NotifierSettings</a></p>
</td>
<td>
<code><span class="keyword">sealed</span> <span class="keyword">class </span><span class="identifier">NotifierSettings</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../../jetbrains.build-server.configs.kotlin.v10/-compound-param/index.html"><span class="identifier">CompoundParam</span></a></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">Notifications</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications)/init">init</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Notifications</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="identifier" id="jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications)/base">base</span><span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Notifications</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code></td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="branch-filter.html">branchFilter</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">branchFilter</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>Branch filter</p>
</td>
</tr>
<tr>
<td>
<p><a href="build-failed.html">buildFailed</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildFailed</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification if build failed</p>
</td>
</tr>
<tr>
<td>
<p><a href="build-failed-to-start.html">buildFailedToStart</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildFailedToStart</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification if build fails to start</p>
</td>
</tr>
<tr>
<td>
<p><a href="build-finished-successfully.html">buildFinishedSuccessfully</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildFinishedSuccessfully</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification if build finished successfully</p>
</td>
</tr>
<tr>
<td>
<p><a href="build-probably-hanging.html">buildProbablyHanging</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildProbablyHanging</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Build is probably hanging</p>
</td>
</tr>
<tr>
<td>
<p><a href="build-started.html">buildStarted</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">buildStarted</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification when build started</p>
</td>
</tr>
<tr>
<td>
<p><a href="first-build-error-occurs.html">firstBuildErrorOccurs</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">firstBuildErrorOccurs</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Notify when the first build error occurs</p>
</td>
</tr>
<tr>
<td>
<p><a href="first-failure-after-success.html">firstFailureAfterSuccess</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">firstFailureAfterSuccess</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification if build failed for the first time after success</p>
</td>
</tr>
<tr>
<td>
<p><a href="first-success-after-failure.html">firstSuccessAfterFailure</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">firstSuccessAfterFailure</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Send notification if build is successfull for the first time after failure</p>
</td>
</tr>
<tr>
<td>
<p><a href="new-build-problem-occured.html">newBuildProblemOccured</a></p>
</td>
<td>
<code><span class="keyword">var </span><s><span class="identifier">newBuildProblemOccured</span></s><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Only notify on new build problem or new failed test</p>
</td>
</tr>
<tr>
<td>
<p><a href="new-build-problem-occurred.html">newBuildProblemOccurred</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">newBuildProblemOccurred</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Only notify on new build problem or new failed test</p>
</td>
</tr>
<tr>
<td>
<p><a href="notifier.html">notifier</a></p>
</td>
<td>
<code><span class="keyword">var </span><s><span class="identifier">notifier</span></s><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>Notifier that will send notifications</p>
</td>
</tr>
<tr>
<td>
<p><a href="notifier-settings.html">notifierSettings</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">notifierSettings</span><span class="symbol">: </span><a href="-notifier-settings/index.html"><span class="identifier">NotifierSettings</span></a><span class="symbol">?</span></code>
<p>Notifier that will send notifications</p>
</td>
</tr>
<tr>
<td>
<p><a href="notify-until-build-is-complete.html">notifyUntilBuildIsComplete</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">notifyUntilBuildIsComplete</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span></code>
<p>Keep notifying until build is complete (even without my changes)</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v10/-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</p>
</td>
</tr>
<tr>
<td>
<p><a href="../../jetbrains.build-server.configs.kotlin.v10/-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.v10/-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="email-notifier.html">emailNotifier</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">emailNotifier</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications$emailNotifier(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications.NotifierSettings.EmailNotifier, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-notifier-settings/-email-notifier/index.html"><span class="identifier">EmailNotifier</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="-notifier-settings/-email-notifier/index.html"><span class="identifier">EmailNotifier</span></a></code>
<p>Send notifications via email</p>
</td>
</tr>
<tr>
<td>
<p><a href="slack-notifier.html">slackNotifier</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">slackNotifier</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications$slackNotifier(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.buildFeatures.Notifications.NotifierSettings.SlackNotifier, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="-notifier-settings/-slack-notifier/index.html"><span class="identifier">SlackNotifier</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="-notifier-settings/-slack-notifier/index.html"><span class="identifier">SlackNotifier</span></a></code>
<p>Send notifications to Slack</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>