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
  • Constructor Details

    • GithubScmContentProvider

      public GithubScmContentProvider()
  • Method Details

    • getScmId

      @NonNull public String getScmId()
      Specified by:
      getScmId in class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
    • getApiUrl

      public String getApiUrl(@NonNull Item item)
      Specified by:
      getApiUrl in class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
    • getContent

      protected Object getContent(io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider.ScmGetRequest request)
      Specified by:
      getContent in class io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
    • getScmParamsFromItem

      protected io.jenkins.blueocean.rest.impl.pipeline.scm.ScmContentProviderParams getScmParamsFromItem(Item item)
      Specified by:
      getScmParamsFromItem in class io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScmContentProvider
    • saveContent

      public Object saveContent(@NonNull org.kohsuke.stapler.StaplerRequest staplerRequest, @NonNull Item item)
      Specified by:
      saveContent in class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
    • support

      public boolean support(@NonNull Item item)
      Specified by:
      support in class io.jenkins.blueocean.rest.impl.pipeline.ScmContentProvider
    • isItemUsingGithubScm

      protected boolean isItemUsingGithubScm(@NonNull Item item)