48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>BuildFailureOnMetric.MetricUnit - </title>
|
|
<link rel="stylesheet" href="../../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../../index.html">jetbrains.buildServer.configs.kotlin.v10.failureConditions</a> / <a href="../index.html">BuildFailureOnMetric</a> / <a href="./index.html">MetricUnit</a><br/>
|
|
<br/>
|
|
<h1>MetricUnit</h1>
|
|
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">MetricUnit</span></code>
|
|
<p>Specifies how to treat the threshold specified in the failure condition</p>
|
|
<h3>Enum Values</h3>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p><a href="-d-e-f-a-u-l-t_-u-n-i-t.html">DEFAULT_UNIT</a></p>
|
|
</td>
|
|
<td>
|
|
<p>Threshold is specified in the default metric units</p>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<p><a href="-p-e-r-c-e-n-t-s.html">PERCENTS</a></p>
|
|
</td>
|
|
<td>
|
|
<p>Threshold is specified in percents</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3>Companion Object Properties</h3>
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<p><a href="mapping.html">mapping</a></p>
|
|
</td>
|
|
<td>
|
|
<code><span class="keyword">val </span><span class="identifier">mapping</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span></code></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</BODY>
|
|
</HTML>
|