Class AbstractScmContentProvider
java.lang.Object
io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
- All Implemented Interfaces:
ExtensionPoint
- Author:
- Vivek Pandey
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Object
getContent
(org.kohsuke.stapler.StaplerRequest request, Item item) Gives content of scm file.protected abstract ScmContentProviderParams
getScmParamsFromItem
(Item item) Methods inherited from class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
all, getApiUrl, getScmId, resolve, saveContent, support
-
Constructor Details
-
AbstractScmContentProvider
public AbstractScmContentProvider()
-
-
Method Details
-
getContent
Description copied from class:ScmContentProvider
Gives content of scm file.- Specified by:
getContent
in classScmContentProvider
- Parameters:
request
-StaplerRequest
request specific to this SCMitem
-Item
in context. e.g.OrganizationFolder
orMultiBranchProject
- Returns:
- scm content
-
getContent
-
getScmParamsFromItem
-