public static class RepositoryCommit.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RepositoryCommit.Builder |
authorEmail(String authorEmail)
Email of the author of the repository.
|
RepositoryCommit.Builder |
authorName(String authorName)
Name of the author of the repository.
|
RepositoryCommit |
build() |
RepositoryCommit.Builder |
commitId(String commitId)
Commit hash pointed to by reference name.
|
RepositoryCommit.Builder |
commitMessage(String commitMessage)
The commit message.
|
RepositoryCommit.Builder |
committerEmail(String committerEmail)
Email of who creates the commit.
|
RepositoryCommit.Builder |
committerName(String committerName)
Name of who creates the commit.
|
RepositoryCommit.Builder |
copy(RepositoryCommit model) |
RepositoryCommit.Builder |
parentCommitIds(List<String> parentCommitIds)
An array of parent commit IDs of created commit.
|
RepositoryCommit.Builder |
timeCreated(Date timeCreated)
The time at which commit was created.
|
RepositoryCommit.Builder |
treeId(String treeId)
Tree information for the specified commit.
|
public RepositoryCommit.Builder commitId(String commitId)
Commit hash pointed to by reference name.
commitId
- the value to setpublic RepositoryCommit.Builder commitMessage(String commitMessage)
The commit message.
commitMessage
- the value to setpublic RepositoryCommit.Builder authorName(String authorName)
Name of the author of the repository.
authorName
- the value to setpublic RepositoryCommit.Builder authorEmail(String authorEmail)
Email of the author of the repository.
authorEmail
- the value to setpublic RepositoryCommit.Builder committerName(String committerName)
Name of who creates the commit.
committerName
- the value to setpublic RepositoryCommit.Builder committerEmail(String committerEmail)
Email of who creates the commit.
committerEmail
- the value to setpublic RepositoryCommit.Builder parentCommitIds(List<String> parentCommitIds)
An array of parent commit IDs of created commit.
parentCommitIds
- the value to setpublic RepositoryCommit.Builder timeCreated(Date timeCreated)
The time at which commit was created.
timeCreated
- the value to setpublic RepositoryCommit.Builder treeId(String treeId)
Tree information for the specified commit.
treeId
- the value to setpublic RepositoryCommit build()
public RepositoryCommit.Builder copy(RepositoryCommit model)
Copyright © 2016–2024. All rights reserved.