com.atlassian.bamboo.commit
Interface Commit

All Superinterfaces:
BambooIdProvider, BambooObject, CommitContext
All Known Implementing Classes:
CommitImpl

public interface Commit
extends BambooObject, CommitContext

Interface that represents a single commit set.


Field Summary
static java.lang.String UNKNOWN
           
 
Method Summary
 RepositoryChangeset getRepositoryChangeset()
           
 void setAuthor(Author author)
          Who made the commit
 void setFiles(java.util.List<CommitFile> files)
           
 void setRepositoryChangeset(RepositoryChangeset repositoryChangeset)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.commit.CommitContext
getAuthor, getChangeSetId, getComment, getDate, getFiles, guessChangeSetId
 

Field Detail

UNKNOWN

static final java.lang.String UNKNOWN
See Also:
Constant Field Values
Method Detail

setAuthor

void setAuthor(Author author)
Who made the commit

Parameters:
author -

getRepositoryChangeset

@Nullable
RepositoryChangeset getRepositoryChangeset()
Returns:
RepositoryChangeset this commit belongs to

setRepositoryChangeset

void setRepositoryChangeset(RepositoryChangeset repositoryChangeset)

setFiles

void setFiles(java.util.List<CommitFile> files)
Parameters:
files - - files to update this commit with.


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.