Github

class Github : PullRequests.Provider

Constructors

Link copied to clipboard
fun Github()

Types

Link copied to clipboard
sealed class AuthType : CompoundParam<PullRequests.Provider.Github.AuthType>

Functions

Link copied to clipboard
fun booleanParameter(    customName: String? = null,     trueValue: String? = "true",     falseValue: String? = "false"): SingleDelegateProvider<Boolean>
Link copied to clipboard
fun clear()
Link copied to clipboard
fun <T : CompoundParam<T>> compoundParameter(customName: String? = null): CompoundDelegateProvider<T>
Link copied to clipboard
fun <T : Parametrized> copyParamsTo(target: T): T

Copies parameters of this object to the specified target

Link copied to clipboard
fun doubleParameter(customName: String? = null): SingleDelegateProvider<Double>
Link copied to clipboard
fun <E : Enum<E>> enumParameter(customName: String? = null, mapping: Map<E, String?>? = null): SingleDelegateProvider<E>
Link copied to clipboard
fun findRawParam(paramName: String): Parameter?
Link copied to clipboard
fun hasParam(paramName: String): Boolean
Link copied to clipboard
fun intParameter(customName: String? = null): SingleDelegateProvider<Int>
Link copied to clipboard
fun param(name: String, value: String)

Adds parameter with specified name and value

Link copied to clipboard
fun removeRawParam(paramName: String)
Link copied to clipboard
fun stringParameter(customName: String? = null): SingleDelegateProvider<String>
Link copied to clipboard

Authentication using access token

Link copied to clipboard
open override fun validate(consumer: ErrorConsumer)
Link copied to clipboard
fun vcsRoot(): PullRequests.Provider.Github.AuthType.VcsRoot

Use VCS root credentials

Properties

Link copied to clipboard
var authType: PullRequests.Provider.Github.AuthType?

Type of authentication

Link copied to clipboard
var filterAuthorRole: PullRequests.GitHubRoleFilter?

Filter by the role of pull request contributors

Link copied to clipboard
var filterSourceBranch: String?

Filter by source branch

Link copied to clipboard
var filterTargetBranch: String?

Filter by target branch

Link copied to clipboard
var ignoreDrafts: Boolean?

Whether to ignore draft pull requests

Link copied to clipboard
val params: List<Parameter>
Link copied to clipboard
var serverUrl: String?

GitHub/GHE server URL

Link copied to clipboard
val value: String?