Package com.atlassian.bamboo.commit
Interface Commit
- All Superinterfaces:
BambooIdProvider,BambooObject,CommitContext
- All Known Implementing Classes:
CommitImpl
Interface that represents a single commit set.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@Nullable RepositoryChangesetvoidWho made the commitvoidsetFiles(List<CommitFile> files) voidsetForeignCommit(boolean foreignCommit) voidsetRepositoryChangeset(RepositoryChangeset repositoryChangeset) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.commit.CommitContext
getAuthorContext, getChangeSetId, getComment, getDate, getFiles, guessChangeSetId, isForeignCommit
-
Field Details
-
UNKNOWN
- See Also:
-
-
Method Details
-
getAuthor
Author getAuthor() -
setAuthor
Who made the commit- Parameters:
author-
-
getRepositoryChangeset
- Returns:
RepositoryChangesetthis commit belongs to
-
setRepositoryChangeset
-
setFiles
- Parameters:
files- - files to update this commit with.
-
setForeignCommit
void setForeignCommit(boolean foreignCommit) - Parameters:
foreignCommit-- Since:
- 5.5
-