Class GithubUserOrganization

java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
io.jenkins.blueocean.blueocean_github_pipeline.AbstractGithubOrganization
io.jenkins.blueocean.blueocean_github_pipeline.GithubUserOrganization
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable

public class GithubUserOrganization extends AbstractGithubOrganization
Github user login such as 'vivek' is an org as well but github API does not expose it via organization API. This class expose github user login name as an organization
Author:
Vivek Pandey
  • Constructor Details

    • GithubUserOrganization

      public GithubUserOrganization(org.kohsuke.github.GHMyself user, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, GithubScm parent)
  • Method Details

    • getAvatar

      public String getAvatar()
      Specified by:
      getAvatar in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
    • getLink

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

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

      public io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepositoryContainer getRepositories()
      Specified by:
      getRepositories in class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization