com.atlassian.bamboo.commit
Interface Commit
- All Superinterfaces:
- BambooObject, java.io.Serializable
- All Known Implementing Classes:
- CommitImpl
public interface Commit
- extends BambooObject, java.io.Serializable
Interface that represents a single commit set.
getAuthor
Author getAuthor()
- Returns:
Author
who made the commit
setAuthor
void setAuthor(Author author)
- Who make the commit
- Parameters:
author
-
getBuildResultsSummary
BuildResultsSummary getBuildResultsSummary()
- Returns:
BuildResultsSummary
whic this commit belongs to. May be null if still haven't built
getFiles
java.util.List<CommitFile> getFiles()
- Returns:
List
of CommitFile
objects representing changed files
setFiles
void setFiles(java.util.List<CommitFile> files)
- Parameters:
files
- - files to update this commit with.
getComment
@NotNull
java.lang.String getComment()
- Returns:
- the commit comment
getDate
java.util.Date getDate()
- Returns:
Date
of commit.
guessChangeSetId
@Nullable
java.lang.String guessChangeSetId()
Copyright © 2010 Atlassian. All Rights Reserved.