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.


Method Summary
 Author getAuthor()
           
 BuildResultsSummary getBuildResultsSummary()
           
 java.lang.String getComment()
           
 java.util.Date getDate()
           
 java.util.List<CommitFile> getFiles()
           
 java.lang.String guessChangeSetId()
           
 void setAuthor(Author author)
          Who make the commit
 void setFiles(java.util.List<CommitFile> files)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Method Detail

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.