com.atlassian.bamboo.v2.build
Class BuildChangesImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BuildChangesImpl
All Implemented Interfaces:
BuildChanges, java.io.Serializable

public class BuildChangesImpl
extends java.lang.Object
implements BuildChanges

See Also:
Serialized Form

Constructor Summary
BuildChangesImpl()
           
BuildChangesImpl(java.lang.String vcsRevisionKey, java.util.List<Commit> changes)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 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.
 int hashCode()
           
 void setChanges(java.util.List<Commit> changes)
           
 void setVcsRevisionKey(java.lang.String vcsRevisionKey)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildChangesImpl

public BuildChangesImpl()

BuildChangesImpl

public BuildChangesImpl(java.lang.String vcsRevisionKey,
                        java.util.List<Commit> changes)
Method Detail

getVcsRevisionKey

public java.lang.String getVcsRevisionKey()
Description copied from interface: BuildChanges
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

Specified by:
getVcsRevisionKey in interface BuildChanges
Returns:
@Nullable. Revision "id"

setVcsRevisionKey

public void setVcsRevisionKey(@NotNull
                              java.lang.String vcsRevisionKey)
Specified by:
setVcsRevisionKey in interface BuildChanges

getChanges

public java.util.List<Commit> getChanges()
Description copied from interface: BuildChanges
List of Commit objects that triggered off this particular build. May be null if no changes returned.

Specified by:
getChanges in interface BuildChanges
Returns:
List of Commits. May be empty

setChanges

public void setChanges(@NotNull
                       java.util.List<Commit> changes)
Specified by:
setChanges in interface BuildChanges

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object obj)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.