jetbrains.buildServer.configs.kotlin.v2018_1 / Parametrized

Parametrized

open class Parametrized

Constructors

<init>

Parametrized()

Properties

params

val params: List<Parameter>

Functions

booleanParameter

fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): SingleDelegateProvider<Boolean>

compoundParameter

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

copyParamsTo

fun <T : Parametrized> copyParamsTo(target: T): T

Copies parameters of this object to the specified target

enumParameter

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

findRawParam

fun findRawParam(paramName: String): Parameter?

hasParam

fun hasParam(paramName: String): Boolean

intParameter

fun intParameter(customName: String? = null): SingleDelegateProvider<Int>

param

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

Adds parameter with specified name and value

removeRawParam

fun removeRawParam(paramName: String): Unit

stringParameter

fun stringParameter(customName: String? = null): SingleDelegateProvider<String>

Inheritors

BuildFeature

open class BuildFeature : Parametrized, Validatable

Represents TeamCity build feature

BuildStep

open class BuildStep : Parametrized, Validatable

Represents TeamCity Build Step

CompoundParam

abstract class CompoundParam<V> : Parametrized

Options

class Options : Parametrized

ParametrizedWithType

open class ParametrizedWithType : Parametrized

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

ProjectFeature

open class ProjectFeature : Parametrized, Validatable

Represents project-level feature

Trigger

open class Trigger : Parametrized, Validatable

TeamCity build trigger

VcsRoot

open class VcsRoot : Parametrized, Validatable, IdOwner

A base class representing TeamCity VCS root.