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>
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.github.GHRepository
getGHRepository
(GitHubSCMSource source) org.kohsuke.github.GitHub
getGitHub
(GitHubSCMSource source) boolean
boolean
boolean
isManageHooks
(GitHubSCMSource source) protected Object
void
registerHookFor
(GitHubSCMSource source) void
setCacheConnection
(boolean cacheConnection) void
setManageHooks
(boolean manageHooks) void
setRepoPermission
(GHPermission repoPermission)
-
Field Details
-
cacheConnection
-
-
Constructor Details
-
GitHubPluginRepoProvider2
@DataBoundConstructor public GitHubPluginRepoProvider2()
-
-
Method Details
-
isCacheConnection
public boolean isCacheConnection() -
setCacheConnection
@DataBoundSetter public void setCacheConnection(boolean cacheConnection) -
isManageHooks
public boolean isManageHooks() -
setManageHooks
@DataBoundSetter public void setManageHooks(boolean manageHooks) -
getRepoPermission
-
setRepoPermission
-
registerHookFor
- Specified by:
registerHookFor
in classGitHubRepoProvider2
-
isManageHooks
- Specified by:
isManageHooks
in classGitHubRepoProvider2
-
getGitHub
- Specified by:
getGitHub
in classGitHubRepoProvider2
-
getGHRepository
- Specified by:
getGHRepository
in classGitHubRepoProvider2
-
readResolve
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<GitHubRepoProvider2>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<GitHubRepoProvider2>
-