Class GithubRepository

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
io.jenkins.blueocean.blueocean_github_pipeline.GithubRepository
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable

public class GithubRepository extends io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
Author:
Vivek Pandey
  • Constructor Details

    • GithubRepository

      public GithubRepository(org.kohsuke.github.GHRepository ghRepository, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
    • getFullName

      @Exported public String getFullName()
      Full name of github repository
    • isPrivate

      public boolean isPrivate()
      Specified by:
      isPrivate in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
    • getDefaultBranch

      public String getDefaultBranch()
      Specified by:
      getDefaultBranch in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
    • getPermissions

      public Map<String,Boolean> getPermissions()
      Specified by:
      getPermissions in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
    • getLink

      public io.jenkins.blueocean.rest.hal.Link getLink()