Uses of Class
org.jenkinsci.plugins.github.config.GitHubServerConfig
Package
Description
-
Uses of GitHubServerConfig in com.cloudbees.jenkins
Modifier and TypeMethodDescriptionIterable<org.kohsuke.github.GHRepository>
GitHubRepositoryName.resolve
(com.google.common.base.Predicate<GitHubServerConfig> predicate) Resolves this name to the actual reference byGHRepository
. -
Uses of GitHubServerConfig in org.jenkinsci.plugins.github.config
Modifier and TypeMethodDescriptionstatic com.google.common.base.Predicate<GitHubServerConfig>
GitHubServerConfig.allowedToManageHooks()
Returns true if config can be used in hooks managingGitHubPluginConfig.getConfigs()
static com.google.common.base.Function<GitHubServerConfig,
org.kohsuke.github.GitHub> GitHubServerConfig.loginToGithub()
Converts server config to authorized GH instance.static com.google.common.base.Predicate<GitHubServerConfig>
Returns true if given host is part of stored (or default if blank) api url For example: withHost(api.github.com).apply(config for ~empty~) = true withHost(api.github.com).apply(config for api.github.com) = true withHost(api.github.com).apply(config for github.company.com) = falseModifier and TypeMethodDescriptionIterable<org.kohsuke.github.GitHub>
GitHubPluginConfig.findGithubConfig
(com.google.common.base.Predicate<GitHubServerConfig> match) Filters all stored configs against given predicate then logs in as the given user and returns the non null connection objectsvoid
GitHubPluginConfig.setConfigs
(List<GitHubServerConfig> configs) -
Uses of GitHubServerConfig in org.jenkinsci.plugins.github.internal
Modifier and TypeMethodDescriptionstatic com.google.common.base.Function<GitHubServerConfig,
okhttp3.Cache> GitHubClientCacheOps.toCacheDir()
static com.google.common.base.Predicate<GitHubServerConfig>
GitHubClientCacheOps.withEnabledCache()
Modifier and TypeMethodDescriptionprotected org.kohsuke.github.GitHub
GitHubLoginFunction.applyNullSafe
(GitHubServerConfig github) Called byNullSafeFunction.apply(Object)
Logins to GH and returns client instanceModifier and TypeMethodDescriptionstatic void
GitHubClientCacheOps.clearRedundantCaches
(List<GitHubServerConfig> configs) Removes all not active dirs with old caches. -
Uses of GitHubServerConfig in org.jenkinsci.plugins.github.migration
Modifier and TypeMethodDescriptionprotected com.google.common.base.Function<Credential,
GitHubServerConfig> Migrator.toGHServerConfig()
Creates new string credentials from token