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
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
DEFAULT_BRANCH, DESCRIPTION, NAME, PERMISSIONS, PRIVATE
-
Constructor Summary
ConstructorDescriptionGithubRepository
(org.kohsuke.github.GHRepository ghRepository, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials, io.jenkins.blueocean.rest.Reachable parent) -
Method Summary
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
-
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
- Specified by:
getName
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
-
getFullName
Full name of github repository -
isPrivate
public boolean isPrivate()- Specified by:
isPrivate
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
-
getDescription
- Specified by:
getDescription
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
-
getDefaultBranch
- Specified by:
getDefaultBranch
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
-
getPermissions
- Specified by:
getPermissions
in classio.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink()
-