Class GithubScmContentProvider
java.lang.Object
io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
io.jenkins.blueocean.blueocean_github_pipeline.GithubScmContentProvider
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
GithubEnterpriseScmContentProvider
@Extension(ordinal=-100.0)
public class GithubScmContentProvider
extends io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider.ScmGetRequest
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getContent
(io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider.ScmGetRequest request) getScmId()
protected io.jenkins.blueocean.rest.impl.pipeline.scm.ScmContentProviderParams
getScmParamsFromItem
(Item item) protected boolean
isItemUsingGithubScm
(Item item) saveContent
(org.kohsuke.stapler.StaplerRequest staplerRequest, Item item) boolean
Methods inherited from class io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
getContent
Methods inherited from class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
all, resolve
-
Constructor Details
-
GithubScmContentProvider
public GithubScmContentProvider()
-
-
Method Details
-
getScmId
- Specified by:
getScmId
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
getApiUrl
- Specified by:
getApiUrl
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
getContent
protected Object getContent(io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider.ScmGetRequest request) - Specified by:
getContent
in classio.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
-
getScmParamsFromItem
protected io.jenkins.blueocean.rest.impl.pipeline.scm.ScmContentProviderParams getScmParamsFromItem(Item item) - Specified by:
getScmParamsFromItem
in classio.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
-
saveContent
public Object saveContent(@NonNull org.kohsuke.stapler.StaplerRequest staplerRequest, @NonNull Item item) - Specified by:
saveContent
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
support
- Specified by:
support
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
isItemUsingGithubScm
-