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

26 lines
2.1 KiB
HTML

<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Template.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v10</a>&nbsp;/&nbsp;<a href="index.html">Template</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="jetbrains.buildServer.configs.kotlin.v10.Template$&lt;init&gt;(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.Template)"></a>
<code><span class="identifier">Template</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v10.Template$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.Template)/init">init</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Template</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.Template$<init>(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v10.Template, kotlin.Unit)), jetbrains.buildServer.configs.kotlin.v10.Template)/base">base</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Template</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<p>Creates a new template. Copies all settings from the specified
base (if it is not null) and runs the init function on the created
instance.</p>
<h3>Parameters</h3>
<p><a name="init"></a>
<code>init</code> - function to initialize the created template</p>
<p><a name="base"></a>
<code>base</code> - base object to copy settings from</p>
<p><strong>See Also</strong><br/>
<p><a href="index.html">Template</a></p>
</p>
</BODY>
</HTML>