com.atlassian.bamboo.v2.build
Interface BuildChanges

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BuildChangesImpl

public interface BuildChanges
extends java.io.Serializable

Class that encapsulates the repository changes for a particular build result


Method Summary
 java.util.List<Commit> getChanges()
          List of Commit objects that triggered off this particular build.
 java.lang.String getVcsRevisionKey()
          Returns a Repository dependent "id" for this checkout.
 void setChanges(java.util.List<Commit> changes)
           
 void setVcsRevisionKey(java.lang.String vcsRevisionKey)
           
 

Method Detail

getVcsRevisionKey

@Nullable
java.lang.String getVcsRevisionKey()
Returns a Repository dependent "id" for this checkout. e.g. date timestamp for CVS, revision number for SVN etc. This is value is taken from the Repository as to be internally consistent

Returns:
@Nullable. Revision "id"

setVcsRevisionKey

void setVcsRevisionKey(@Nullable
                       java.lang.String vcsRevisionKey)

getChanges

@Nullable
java.util.List<Commit> getChanges()
List of Commit objects that triggered off this particular build. May be null if no changes returned.

Returns:
List of Commits. May be empty

setChanges

void setChanges(@NotNull
                java.util.List<Commit> changes)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.