public static class CommitInfo.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CommitInfo |
build() |
CommitInfo.Builder |
commitHash(String commitHash)
Commit hash pertinent to the repository URL and the specified branch.
|
CommitInfo.Builder |
copy(CommitInfo model) |
CommitInfo.Builder |
repositoryBranch(String repositoryBranch)
Name of the repository branch.
|
CommitInfo.Builder |
repositoryUrl(String repositoryUrl)
Repository URL.
|
public CommitInfo.Builder repositoryUrl(String repositoryUrl)
Repository URL.
repositoryUrl
- the value to setpublic CommitInfo.Builder repositoryBranch(String repositoryBranch)
Name of the repository branch.
repositoryBranch
- the value to setpublic CommitInfo.Builder commitHash(String commitHash)
Commit hash pertinent to the repository URL and the specified branch.
commitHash
- the value to setpublic CommitInfo build()
public CommitInfo.Builder copy(CommitInfo model)
Copyright © 2016–2024. All rights reserved.