open class ProjectFeature : Parametrized, Validatable
Represents project-level feature
ProjectFeature(init: ProjectFeature.() -> Unit)
Creates a project feature and initializes it with the specified init block ProjectFeature()
Represents project-level feature |
var id: String?
Project feature id, if not specified will be generated |
|
var type: String
Project feature type |
val params: List<Parameter> |
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. |
|
open fun toString(): String |
|
open fun validate(consumer: ErrorConsumer): Unit
Validates this object and reports found errors to the provided consumer |
fun booleanParameter(customName: String? = null, trueValue: String? = "true", falseValue: String? = "false"): SingleDelegateProvider<Boolean> |
|
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): CompoundDelegateProvider<T> |
|
fun <T : Parametrized> copyParamsTo(target: T): T
Copies parameters of this object to the specified target |
|
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): SingleDelegateProvider<E> |
|
fun findRawParam(paramName: String): Parameter? |
|
fun hasParam(paramName: String): Boolean |
|
fun intParameter(customName: String? = null): SingleDelegateProvider<Int> |
|
fun param(name: String, value: String): Unit
Adds parameter with specified name and value |
|
fun removeRawParam(paramName: String): Unit |
|
fun stringParameter(customName: String? = null): SingleDelegateProvider<String> |
open class AzureDevopsConnection : ProjectFeature
Project feature for Azure Devops or VSTS connection settings |
|
open class BitbucketCloudConnection : ProjectFeature
Project feature defining an OAuth connection settings for Bitbucket Cloud |
|
open class BugzillaIssueTracker : ProjectFeature
Project feature enabling integration with Bugzilla issue tracker |
|
open class BuildReportTab : ProjectFeature
Project feature defining a custom tab to be shown for all builds of the current project |
|
open class DockerECRConnection : ProjectFeature
This connection is used in Docker Support build feature. |
|
open class DockerRegistryConnection : ProjectFeature
This connection is used in Docker Support build feature. |
|
open class GHEConnection : ProjectFeature
Project feature defining an OAuth connection settings for GitHub Enterprise server |
|
open class GitHubConnection : ProjectFeature
Project feature defining an OAuth connection settings for GitHub.com |
|
open class GitLabConnection : ProjectFeature
Project feature defining an OAuth connection settings for GitLab.com |
|
open class GitLabEEConnection : ProjectFeature
Project feature defining an OAuth connection settings for GitLab CE/EE |
|
open class JiraIssueTracker : ProjectFeature
Project feature enabling integration with JIRA issue tracker |
|
open class NuGetFeed : ProjectFeature
Project feature enabling TeamCity NuGet feed |
|
open class ProjectReportTab : ProjectFeature
Project feature defining a custom tab to be shown on a project level |
|
open class SlackConnection : ProjectFeature
Project feature defining an OAuth connection settings for Slack |
|
open class TfsIssueTracker : ProjectFeature
Project feature enabling integration with Team Foundation Work Items as an issue tracker |
|
open class VersionedSettings : ProjectFeature
Project feature enabling versioned settings in the project. |
|
open class YouTrackIssueTracker : ProjectFeature
Project feature enabling integration with YouTrack issue tracker |