Class ScmRepository
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.impl.pipeline.scm.ScmRepository
- All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
public abstract class ScmRepository
extends io.jenkins.blueocean.rest.model.Resource
SCM repository
- Author:
- Vivek Pandey
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getLinks, getState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jenkins.blueocean.rest.Reachable
getLink
-
Field Details
-
NAME
- See Also:
-
PRIVATE
- See Also:
-
DESCRIPTION
- See Also:
-
DEFAULT_BRANCH
- See Also:
-
PERMISSIONS
- See Also:
-
-
Constructor Details
-
ScmRepository
public ScmRepository()
-
-
Method Details
-
getName
Name of repository -
isPrivate
@Exported(name="private") public abstract boolean isPrivate()Whether this repository is private -
getDescription
Description of SCM repo -
getDefaultBranch
Default branch of this repo -
getPermissions
Permissions attached to this SCM repo
-