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
Fields Modifier and Type Field Description static String
DEFAULT_BRANCH
static String
DESCRIPTION
static String
NAME
static String
PERMISSIONS
static String
PRIVATE
-
Constructor Summary
Constructors Constructor Description ScmRepository()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
getDefaultBranch()
Default branch of this repoabstract String
getDescription()
Description of SCM repoabstract String
getName()
Name of repositoryabstract Map<String,Boolean>
getPermissions()
Permissions attached to this SCM repoabstract boolean
isPrivate()
Whether this repository is private
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PRIVATE
public static final String PRIVATE
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
-
DEFAULT_BRANCH
public static final String DEFAULT_BRANCH
- See Also:
- Constant Field Values
-
PERMISSIONS
public static final String PERMISSIONS
- See Also:
- Constant Field Values
-
-
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
-
-