jetbrains.buildServer.configs.kotlin.v2018_1 / ProjectFeature

ProjectFeature

open class ProjectFeature : Parametrized, Validatable

Represents project-level feature

Constructors

<init>

ProjectFeature(init: ProjectFeature.() -> Unit)

Creates a project feature and initializes it with the specified init block

ProjectFeature()

Represents project-level feature

Properties

id

var id: String?

Project feature id, if not specified will be generated

type

var type: String

Project feature type

Inherited Properties

params

val params: List<Parameter>

Functions

create

open fun create(): ProjectFeature

Creates an instance of this project feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.

toString

open fun toString(): String

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited 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

AzureDevopsConnection

open class AzureDevopsConnection : ProjectFeature

Project feature for Azure Devops or VSTS connection settings

BitbucketCloudConnection

open class BitbucketCloudConnection : ProjectFeature

Project feature defining an OAuth connection settings for Bitbucket Cloud

BugzillaIssueTracker

open class BugzillaIssueTracker : ProjectFeature

Project feature enabling integration with Bugzilla issue tracker

BuildReportTab

open class BuildReportTab : ProjectFeature

Project feature defining a custom tab to be shown for all builds of the current project

DockerECRConnection

open class DockerECRConnection : ProjectFeature

This connection is used in Docker Support build feature.

DockerRegistryConnection

open class DockerRegistryConnection : ProjectFeature

This connection is used in Docker Support build feature.

GHEConnection

open class GHEConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitHub Enterprise server

GitHubConnection

open class GitHubConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitHub.com

GitLabConnection

open class GitLabConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitLab.com

GitLabEEConnection

open class GitLabEEConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitLab CE/EE

JiraIssueTracker

open class JiraIssueTracker : ProjectFeature

Project feature enabling integration with JIRA issue tracker

NuGetFeed

open class NuGetFeed : ProjectFeature

Project feature enabling TeamCity NuGet feed

ProjectReportTab

open class ProjectReportTab : ProjectFeature

Project feature defining a custom tab to be shown on a project level

TfsIssueTracker

open class TfsIssueTracker : ProjectFeature

Project feature enabling integration with Team Foundation Work Items as an issue tracker

VersionedSettings

open class VersionedSettings : ProjectFeature

Project feature enabling versioned settings in the project.

YouTrackIssueTracker

open class YouTrackIssueTracker : ProjectFeature

Project feature enabling integration with YouTrack issue tracker