@PublicApi public interface Commit extends BambooObject, CommitContext
Modifier and Type | Method and Description |
---|---|
Author |
getAuthor() |
RepositoryChangeset |
getRepositoryChangeset() |
void |
setAuthor(Author author)
Who made the commit
|
void |
setFiles(List<CommitFile> files) |
void |
setForeignCommit(boolean foreignCommit) |
void |
setRepositoryChangeset(RepositoryChangeset repositoryChangeset) |
setId
getId
getAuthorContext, getChangeSetId, getComment, getDate, getFiles, guessChangeSetId, isForeignCommit
static final String UNKNOWN
Author getAuthor()
void setAuthor(Author author)
author
- @Nullable RepositoryChangeset getRepositoryChangeset()
RepositoryChangeset
this commit belongs tovoid setRepositoryChangeset(RepositoryChangeset repositoryChangeset)
void setFiles(List<CommitFile> files)
files
- - files to update this commit with.void setForeignCommit(boolean foreignCommit)
foreignCommit
- Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.