Class GitHubPluginRepoProvider2
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GitHubRepoProvider2>
-
- com.github.kostyasha.github.integration.multibranch.repoprovider.GitHubRepoProvider2
-
- com.github.kostyasha.github.integration.multibranch.repoprovider.GitHubPluginRepoProvider2
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<GitHubRepoProvider2>
public class GitHubPluginRepoProvider2 extends GitHubRepoProvider2
- Author:
- Kanstantsin Shautsou
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitHubPluginRepoProvider2.GitHubPluginRepoProviderDescriptor2
-
Nested classes/interfaces inherited from class com.github.kostyasha.github.integration.multibranch.repoprovider.GitHubRepoProvider2
GitHubRepoProvider2.GitHubRepoProviderDescriptor2
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
cacheConnection
-
Constructor Summary
Constructors Constructor Description GitHubPluginRepoProvider2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GitHubPluginRepoProvider2.GitHubPluginRepoProviderDescriptor2
getDescriptor()
org.kohsuke.github.GHRepository
getGHRepository(GitHubSCMSource source)
org.kohsuke.github.GitHub
getGitHub(GitHubSCMSource source)
GHPermission
getRepoPermission()
boolean
isCacheConnection()
boolean
isManageHooks()
boolean
isManageHooks(GitHubSCMSource source)
protected Object
readResolve()
void
registerHookFor(GitHubSCMSource source)
void
setCacheConnection(boolean cacheConnection)
void
setManageHooks(boolean manageHooks)
void
setRepoPermission(GHPermission repoPermission)
-
-
-
Field Detail
-
cacheConnection
protected Boolean cacheConnection
-
-
Method Detail
-
isCacheConnection
public boolean isCacheConnection()
-
setCacheConnection
@DataBoundSetter public void setCacheConnection(boolean cacheConnection)
-
isManageHooks
public boolean isManageHooks()
-
setManageHooks
@DataBoundSetter public void setManageHooks(boolean manageHooks)
-
getRepoPermission
public GHPermission getRepoPermission()
-
setRepoPermission
@DataBoundSetter public void setRepoPermission(GHPermission repoPermission)
-
registerHookFor
public void registerHookFor(GitHubSCMSource source)
- Specified by:
registerHookFor
in classGitHubRepoProvider2
-
isManageHooks
public boolean isManageHooks(GitHubSCMSource source)
- Specified by:
isManageHooks
in classGitHubRepoProvider2
-
getGitHub
@NonNull public org.kohsuke.github.GitHub getGitHub(GitHubSCMSource source)
- Specified by:
getGitHub
in classGitHubRepoProvider2
-
getGHRepository
@CheckForNull public org.kohsuke.github.GHRepository getGHRepository(GitHubSCMSource source)
- Specified by:
getGHRepository
in classGitHubRepoProvider2
-
readResolve
protected Object readResolve()
-
getDescriptor
public GitHubPluginRepoProvider2.GitHubPluginRepoProviderDescriptor2 getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<GitHubRepoProvider2>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubRepoProvider2>
-
-