Class 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
    • Constructor Detail

      • ScmRepository

        public ScmRepository()
    • Method Detail

      • 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