jetbrains.buildServer.configs.kotlin.v10 / Parametrized

Parametrized

open class Parametrized : Params

Constructors

<init>

Parametrized(base: Parametrized? = null, init: Parametrized.() -> Unit = {})
Parametrized(_rawParams: List<Parameter>?, _delegates: Map<String, Params>?)

Properties

params

open val params: List<Parameter>

Functions

booleanParameter

fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): BooleanDelegate

compoundParameter

fun <T : CompoundParam> compoundParameter(customName: String? = null): CompoundParamDelegate<T>

enumParameter

fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): EnumDelegate<E>

intParameter

fun intParameter(customName: String? = null): IntDelegate

param

fun param(name: String, value: String): Unit

Adds parameter

stringParameter

fun stringParameter(customName: String? = null): StringDelegate

Inheritors

BuildFeature

open class BuildFeature : Parametrized

Represents TeamCity build feature

BuildStep

open class BuildStep : Parametrized

Represents TeamCity Build Step

CompoundParam

open class CompoundParam : Parametrized

ParametrizedWithType

open class ParametrizedWithType : Parametrized

Allows to add parameters to project, build configuration, or template

ProjectFeature

open class ProjectFeature : Parametrized

Represents project-level feature

Trigger

open class Trigger : Parametrized

TeamCity build trigger

VcsRoot

open class VcsRoot : Parametrized

A base class representing TeamCity VCS root.