jetbrains.buildServer.configs.kotlin.v2017_2.projectFeatures / GHEConnection

GHEConnection

open class GHEConnection : ProjectFeature

Project feature defining an OAuth connection settings for GitHub Enterprise server

See Also

gheConnection

Constructors

<init>

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

Project feature defining an OAuth connection settings for GitHub Enterprise server

Properties

clientId

var clientId: String?

OAuth connection client id

clientSecret

var clientSecret: String?

OAuth connection client secret

displayName

var displayName: String?

Human friendly connection name

serverUrl

var serverUrl: String?

URL to GitHub Enterprise server

Inherited Properties

id

var id: String?

Project feature id, if not specified will be generated

type

var type: String

Project feature type

Functions

validate

open fun validate(consumer: ErrorConsumer): Unit

Validates this object and reports found errors to the provided consumer

Inherited 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