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 getPreviousVcsRevisionKey()
          Returns a Repository dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from the Repository as to be internally consistent
 java.lang.String getVcsLastChangeRevisionKey()
          Returns a Repository dependent "id" for last change for repository subpath - currently implemented for Subversion ONLY This is value is taken from the Repository as to be internally consistent *
 java.lang.String getVcsRevisionKey()
          Returns a Repository dependent "id" for this checkout.
 void setChanges(java.util.List<Commit> changes)
           
 void setPreviousVcsRevisionKey(java.lang.String previousVcsRevisionKey)
           
 void setVcsLastChangeRevisionKey(java.lang.String vcsRevisionKeyForSubpath)
           
 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)

getPreviousVcsRevisionKey

java.lang.String getPreviousVcsRevisionKey()
Returns a Repository dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from the Repository as to be internally consistent

Returns:

setPreviousVcsRevisionKey

void setPreviousVcsRevisionKey(@Nullable
                               java.lang.String previousVcsRevisionKey)

getVcsLastChangeRevisionKey

java.lang.String getVcsLastChangeRevisionKey()
Returns a Repository dependent "id" for last change for repository subpath - currently implemented for Subversion ONLY This is value is taken from the Repository as to be internally consistent *

Returns:

setVcsLastChangeRevisionKey

void setVcsLastChangeRevisionKey(java.lang.String vcsRevisionKeyForSubpath)

getChanges

@NotNull
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 © 2010 Atlassian. All Rights Reserved.