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

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.v2017_2</a>&nbsp;/&nbsp;<a href="index.html">Project</a>&nbsp;/&nbsp;<a href="./template.html">template</a><br/>
<br/>
<h1>template</h1>
<a name="jetbrains.buildServer.configs.kotlin.v2017_2.Project$template(jetbrains.buildServer.configs.kotlin.v2017_2.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.v2017_2.Project$template(jetbrains.buildServer.configs.kotlin.v2017_2.Template)/template">template</span><span class="symbol">:</span>&nbsp;<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.v2017_2.Project$template(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.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.v2017_2.Project$template(kotlin.Function1((jetbrains.buildServer.configs.kotlin.v2017_2.Template, kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<a href="../-template/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><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>