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
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
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
AVATAR, NAME
-
Constructor Summary
ConstructorDescriptionGithubUserOrganization
(org.kohsuke.github.GHMyself user, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, GithubScm parent) -
Method Summary
Methods inherited from class io.jenkins.blueocean.blueocean_github_pipeline.AbstractGithubOrganization
getAvatarWithSize, isJenkinsOrganizationPipeline
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
Constructor Details
-
GithubUserOrganization
public GithubUserOrganization(org.kohsuke.github.GHMyself user, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, GithubScm parent)
-
-
Method Details
-
getAvatar
- Specified by:
getAvatar
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmOrganization
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
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
-