|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.BuildChangesImpl
public class BuildChangesImpl
Constructor Summary | |
---|---|
BuildChangesImpl()
|
|
BuildChangesImpl(java.lang.String vcsRevisionKey)
|
|
BuildChangesImpl(java.lang.String vcsRevisionKey,
java.util.List<Commit> changes)
|
Method Summary | |
---|---|
BuildChanges |
cloneBuildChanges()
|
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 |
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 |
int |
getSkippedCommitsCount()
The number of commits that were included in this buildChanges, but their details were skipped (because there was too many commits to keep them all in this buildChanges) |
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. |
int |
hashCode()
|
void |
setChanges(java.util.List<Commit> changes)
|
void |
setPreviousVcsRevisionKey(java.lang.String previousVcsRevisionKey)
|
void |
setSkippedCommitsCount(int skippedCommitsCount)
|
void |
setVcsLastChangeRevisionKey(java.lang.String vcsLastChangeRevisionKey)
|
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 |
---|
public BuildChangesImpl()
public BuildChangesImpl(java.lang.String vcsRevisionKey)
public BuildChangesImpl(java.lang.String vcsRevisionKey, java.util.List<Commit> changes)
Method Detail |
---|
public java.lang.String getVcsRevisionKey()
BuildChanges
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
getVcsRevisionKey
in interface BuildChanges
public void setVcsRevisionKey(@Nullable java.lang.String vcsRevisionKey)
setVcsRevisionKey
in interface BuildChanges
public java.lang.String getPreviousVcsRevisionKey()
BuildChanges
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
getPreviousVcsRevisionKey
in interface BuildChanges
public void setPreviousVcsRevisionKey(@Nullable java.lang.String previousVcsRevisionKey)
setPreviousVcsRevisionKey
in interface BuildChanges
public java.lang.String getVcsLastChangeRevisionKey()
BuildChanges
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
*
getVcsLastChangeRevisionKey
in interface BuildChanges
public void setVcsLastChangeRevisionKey(java.lang.String vcsLastChangeRevisionKey)
setVcsLastChangeRevisionKey
in interface BuildChanges
@NotNull public java.util.List<Commit> getChanges()
BuildChanges
List
of Commit
objects that triggered off this particular build. Returns empty collection if no changes
returned.
getChanges
in interface BuildChanges
List
of Commit
s. May be emptypublic void setChanges(@NotNull java.util.List<Commit> changes)
setChanges
in interface BuildChanges
public int getSkippedCommitsCount()
BuildChanges
getSkippedCommitsCount
in interface BuildChanges
public void setSkippedCommitsCount(int skippedCommitsCount)
setSkippedCommitsCount
in interface BuildChanges
@NotNull public BuildChanges cloneBuildChanges()
cloneBuildChanges
in interface BuildChanges
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object obj)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |