33 lines
2.6 KiB
HTML
33 lines
2.6 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<meta charset="UTF-8">
|
|
<title>Project.template - </title>
|
|
<link rel="stylesheet" href="../../style.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<a href="../index.html">jetbrains.buildServer.configs.kotlin.v2018_1</a> / <a href="index.html">Project</a> / <a href="./template.html">template</a><br/>
|
|
<br/>
|
|
<h1>template</h1>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2018_1.Project$template(jetbrains.buildServer.configs.kotlin.v2018_1.Template)"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">template</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Project$template(jetbrains.buildServer.configs.kotlin.v2018_1.Template)/template">template</span><span class="symbol">:</span> <a href="../-template/index.html"><span class="identifier">Template</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>Registers the specified template in this project</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="template"></a>
|
|
<code>template</code> - template to register</p>
|
|
<p><strong>See Also</strong><br/>
|
|
<p><a href="../-template/index.html">Template</a></p>
|
|
</p>
|
|
<a name="jetbrains.buildServer.configs.kotlin.v2018_1.Project$template(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.Template, kotlin.Unit)))"></a>
|
|
<code><span class="keyword">fun </span><span class="identifier">template</span><span class="symbol">(</span><span class="identifier" id="jetbrains.buildServer.configs.kotlin.v2018_1.Project$template(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2018_1.Template, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="../-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="symbol">(</span><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><span class="symbol">)</span><span class="symbol">: </span><a href="../-template/index.html"><span class="identifier">Template</span></a></code>
|
|
<p>Registers a new template initialized with the specified init block in this project</p>
|
|
<h3>Parameters</h3>
|
|
<p><a name="init"></a>
|
|
<code>init</code> - initialization block</p>
|
|
<p><a name="return"></a>
|
|
<code>return</code> - added template</p>
|
|
<p><strong>See Also</strong><br/>
|
|
<p><a href="../-template/index.html">Template</a></p>
|
|
</p>
|
|
</BODY>
|
|
</HTML>
|