data class AbsoluteId : Id
Entity id to be used as is, without any prefixes provided by TeamCity. |
|
class ArtifactDependency
TeamCity artifact dependency. |
|
data class ArtifactRule
A rule specifying how to copy artifacts from dependency. Use methods of the companion object to create it. |
|
open class BuildFeature : Parametrized, Validatable
Represents TeamCity build feature |
|
class BuildFeatures : Validatable
Collection of build features in build configuration or template |
|
data class BuildRule
A rule matching a build, use one of the methods in ArtifactDependency class to create it |
|
open class BuildStep : Parametrized, Validatable
Represents TeamCity Build Step |
|
class BuildStepConditions : Requirements
Collection of build step conditions in a build step |
|
class BuildSteps : Validatable
Collection of build steps in build configuration or template |
|
open class BuildType : BuildTypeSettings, Validatable
Represents TeamCity build configuration. |
|
open class BuildTypeRefs
Provides methods for creating references to buildType parameters |
|
open class BuildTypeSettings : Validatable, IdOwner
|
|
enum class CheckoutMode
VCS checkout mode, specifies how sources are transferred to the build agent |
|
class Cleanup
Specifies clean-up rules for project, build configuration, or template |
|
enum class CleanupLevel
Specifies what data should be cleaned. Each level includes the one(s) above it. |
|
data class CleanupRule
Clean-up rule, use one of the methods in Cleanup to create it |
|
class CompoundDelegateProvider<T : CompoundParam<T>> |
|
abstract class CompoundParam<V> : Parametrized |
|
class CompoundParamDelegate<T : CompoundParam<T>> : ParameterDelegate<T> |
|
class Consumer : ErrorConsumer |
|
class Dependencies
Collection of dependencies in build configuration or template |
|
class Dependency
Represents dependency of one build on another |
|
object DslContext
Context of DSL execution |
|
interface ErrorConsumer
Consumes validation errors |
|
enum class FailureAction
Action in case of snapshot dependency failure. |
|
open class FailureCondition : BuildFeature
TeamCity failure condition |
|
class FailureConditions : Validatable
Collection of failure conditions in build configuration or template |
|
sealed class Id : IdOwner
An id of a TeamCity entity. It appears in the web UI and is used in urls. If the entity has a uuid specified, then the id can be changed at any time. If uuid is omitted, then TeamCity treats an entity with a changed id as a new entity, all data associated with the old entity will be lost (e.g. a build history, a commit graph). |
|
class IdGenerator |
|
interface IdOwner |
|
class IdeaDuplicates : IdeaSettingsBasedRunner |
|
class IdeaInspections : IdeaSettingsBasedRunner |
|
class IdeaRunner : IdeaSettingsBasedRunner |
|
abstract class IdeaSettingsBasedRunner : BuildStep |
|
class Options : Parametrized |
|
data class Parameter
|
|
abstract class ParameterDelegate<T> |
|
enum class ParameterDisplay
Specifies how parameter is shown in the Run Custom Build dialog |
|
class ParameterRef
Reference to a parameter |
|
sealed class ParameterSpec
Parameter specification |
|
class ParameterSpecCheckbox : ParameterSpec |
|
class ParameterSpecFreeForm : ParameterSpec |
|
class ParameterSpecPassword : ParameterSpec |
|
class ParameterSpecRegex : ParameterSpec |
|
class ParameterSpecSelect : ParameterSpec |
|
class ParameterSpecText : ParameterSpec |
|
open class Parametrized |
|
open class ParametrizedWithType : Parametrized
Allows to add parameters to project, build configuration, or template |
|
open class Project : Validatable, IdOwner
Represents TeamCity project. |
|
open class ProjectFeature : Parametrized, Validatable
Represents project-level feature |
|
class ProjectFeatures : Validatable
|
|
open class PropInitOnceDelegate<T>
Can be specified as a delegate for some property. Collects all initializers for such properties but does not call them right there. Instead all initializers are called inside applyAllInitFunctions |
|
enum class PublishMode
This class is used to describe condition for artifact publishing at the end of the build |
|
data class RelativeId : Id
Entity id relative to the project where versioned settings were enabled. When DSL executed the id of the project with enabled versioned settings is prepended to all relative ids. Can be used only in DSL generated with the 'Generate portable DSL scripts' option enabled. |
|
data class Requirement
An agent requirement, use methods in Requirements class to create it |
|
enum class RequirementType |
|
open class Requirements
Collection of agent requirements in build configuration or template |
|
enum class ReuseBuilds
Reuse builds mode for snapshot dependencies |
|
class SingleDelegateProvider<T> |
|
class SingleParamDelegate<T> : ParameterDelegate<T> |
|
class SnapshotDependency
TeamCity snapshot dependency |
|
open class Template : BuildTypeSettings, Validatable
Represents TeamCity build template. |
|
open class Trigger : Parametrized, Validatable
TeamCity build trigger |
|
class Triggers : Validatable
Collection of build triggers in build configuration or template |
|
interface Validatable |
|
open class VcsRoot : Parametrized, Validatable, IdOwner
A base class representing TeamCity VCS root. |
|
data class VcsRootEntry |
|
open class VcsRootRefs
Provides methods for creating references to VCS related properties |
|
class VcsSettings
Contains settings from the Version Control Settings tab of build configuration or template. |
|
class _Samples |
annotation class TeamCityDsl |
val ID_GENERATORS_FOR_TEMPLATES: <ERROR CLASS> |
|
val TQ: String
Used to escape triple quotes inside multi-line strings |
|
var checkMissingUuids: Boolean
Specifies whether a missing uuid should cause a validation error. If set to false (default) an omitted uuid is allowed and is later reconstructed by id of the entity. |
|
var version: String?
Version of TeamCity in which kotlin code was generated. |
fun <T : VcsRoot> T.copy(): T
Copies the receiver VCS root. fun <T : VcsRoot> T.copy(block: T.() -> Unit): T
Copies the receiver VCS root and initialize it with the specified block. fun ArtifactDependency.copy(): ArtifactDependency
Copies the receiver artifact dependency fun SnapshotDependency.copy(): SnapshotDependency
Copies the receiver snapshot dependency fun Dependency.copy(): Dependency
Copies the receiver dependency fun BuildSteps.copy(): BuildSteps
Copies the receiver build steps fun Cleanup.copy(): Cleanup
Copies the receiver cleanup fun FailureConditions.copy(): FailureConditions
Copies the receiver failure conditions fun VcsSettings.copy(): VcsSettings
Copies the receiver vcs settings fun Triggers.copy(): Triggers
Copies the receiver triggers fun Requirements.copy(): Requirements
Copies the receiver requirements fun Dependencies.copy(): Dependencies
Copies the receiver dependencies fun BuildFeatures.copy(): BuildFeatures
Copies the receiver build features fun ProjectFeatures.copy(): ProjectFeatures
Copies the receiver project features |
|
fun <T : BuildTypeSettings> T.copySettingsTo(target: T): T
Copies the receiver build settings to the specified target |
|
fun <T : VcsRoot> T.copyTo(target: T): T
Copies the receiver VCS root to the specified target VCS root fun BuildSteps.copyTo(target: BuildSteps): BuildSteps
Copies the receiver build steps to the specified target fun Cleanup.copyTo(target: Cleanup): Cleanup
Copies the receiver cleanup to the specified target fun FailureConditions.copyTo(target: FailureConditions): FailureConditions
Copies the receiver failure conditions to the specified target fun VcsSettings.copyTo(target: VcsSettings): VcsSettings
Copies the receiver vcs settings to the specified target fun Triggers.copyTo(target: Triggers): Triggers
Copies the receiver triggers to the specified target fun Requirements.copyTo(target: Requirements): Requirements
Copies the receiver requirements to the specified target fun Dependencies.copyTo(target: Dependencies): Dependencies
Copies the receiver dependencies to the specified target fun BuildFeatures.copyTo(target: BuildFeatures): BuildFeatures
Copies the receiver build features to the specified target fun ProjectFeatures.copyTo(target: ProjectFeatures): ProjectFeatures
Copies the receiver project features to the specified target |
|
fun BuildSteps.ideaDuplicates(init: IdeaDuplicates.() -> Unit = {}): Unit |
|
fun BuildSteps.ideaInspections(init: IdeaInspections.() -> Unit = {}): Unit |
|
fun BuildSteps.ideaRunner(init: IdeaRunner.() -> Unit = {}): Unit |
|
fun prepareRelativeProject(project: Project): Unit |
|
fun project(project: Project): Unit fun project(init: Project.() -> Unit): Unit
Defines TeamCity project |
|
fun relativeIdCannotBeUsed(description: String, id: Id?): String |
|
fun relativeIdInAbsoluteHierarchy(id: Id?): Boolean |
|
fun reportRelativeIds(project: Project): Unit fun reportRelativeIds(project: Project, rootProject: Boolean): Unit |
|
fun <T> runPrivileged(function: () -> T): T |