Class GitContent
- java.lang.Object
-
- io.jenkins.blueocean.rest.impl.pipeline.scm.ScmContent
-
- io.jenkins.blueocean.rest.impl.pipeline.scm.GitContent
-
public class GitContent extends ScmContent
- Author:
- Vivek Pandey
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitContent.Builder
-
Constructor Summary
Constructors Constructor Description GitContent(String name, String owner, String repo, String path, Number size, String message, String base64Data, String sha, String branch, String sourceBranch, Boolean autoCreateBranch, String commitId)
GitContent(String owner, String repo, String path, String message, String base64Data, String sha, String branch, String sourceBranch, Boolean autoCreateBranch, String commitId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBase64Data()
String
getBranch()
String
getCommitId()
String
getMessage()
String
getName()
String
getOwner()
String
getPath()
String
getRepo()
String
getSha()
Number
getSize()
String
getSourceBranch()
Boolean
isAutoCreateBranch()
List<io.jenkins.blueocean.commons.ErrorMessage.Error>
validate()
-
-
-
Method Detail
-
getName
@Exported(name="name") public String getName()
-
getOwner
@Exported(name="owner") public String getOwner()
-
getRepo
@Exported(name="repo") public String getRepo()
-
getPath
@Exported(name="path") public String getPath()
-
getSize
@Exported(name="size", skipNull=true) public Number getSize()
-
getMessage
@Exported(name="message", skipNull=true) public String getMessage()
-
getBase64Data
@Exported(name="base64Data", skipNull=true) public String getBase64Data()
-
getBranch
@Exported(name="branch", skipNull=true) public String getBranch()
-
getSha
@Exported(name="sha") public String getSha()
-
getSourceBranch
@Exported(name="sourceBranch", skipNull=true) public String getSourceBranch()
-
isAutoCreateBranch
@Exported(name="autoCreateBranch", skipNull=true) public Boolean isAutoCreateBranch()
-
getCommitId
@Exported(name="commitId", skipNull=true) public String getCommitId()
-
validate
public List<io.jenkins.blueocean.commons.ErrorMessage.Error> validate()
-
-