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 Details

  • Constructor Details

    • ScmRepository

      public ScmRepository()
  • Method Details

    • getName

      @Exported(name="name") public abstract String getName()
      Name of repository
    • isPrivate

      @Exported(name="private") public abstract boolean isPrivate()
      Whether this repository is private
    • getDescription

      @Exported(name="description") public abstract String getDescription()
      Description of SCM repo
    • getDefaultBranch

      @Exported(name="defaultBranch") public abstract String getDefaultBranch()
      Default branch of this repo
    • getPermissions

      @Exported(name="permissions") public abstract Map<String,Boolean> getPermissions()
      Permissions attached to this SCM repo