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 Summary
Constructors Constructor Description GithubUserOrganization(org.kohsuke.github.GHMyself user, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, GithubScm parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAvatar()
io.jenkins.blueocean.rest.hal.Link
getLink()
String
getName()
io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepositoryContainer
getRepositories()
-
Methods inherited from class io.jenkins.blueocean.blueocean_github_pipeline.AbstractGithubOrganization
getAvatarWithSize, isJenkinsOrganizationPipeline
-
-
-
-
Constructor Detail
-
GithubUserOrganization
public GithubUserOrganization(org.kohsuke.github.GHMyself user, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, GithubScm parent)
-
-
Method Detail
-
getAvatar
public String getAvatar()
- Specified by:
getAvatar
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink()
-
getName
public String getName()
- Specified by:
getName
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
-
getRepositories
public io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepositoryContainer getRepositories()
- Specified by:
getRepositories
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
-
-