Class GitReadSaveService
java.lang.Object
io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
io.jenkins.blueocean.blueocean_git_pipeline.GitReadSaveService
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class GitReadSaveService
extends io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
Content provider for load/save with git repositories
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of git interaction to useNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetContent
(org.kohsuke.stapler.StaplerRequest req, Item item) protected com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
getCredentialForUser
(Item item, String repositoryUrl) getScmId()
saveContent
(org.kohsuke.stapler.StaplerRequest req, Item item) static void
boolean
Methods inherited from class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
all, resolve
-
Constructor Details
-
GitReadSaveService
public GitReadSaveService()
-
-
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
-
setType
-
getContent
- Specified by:
getContent
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
saveContent
- Specified by:
saveContent
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
support
- Specified by:
support
in classio.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
-
getCredentialForUser
-