|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
public class BuildRepositoryChangesImpl
Constructor Summary | |
---|---|
BuildRepositoryChangesImpl()
|
|
BuildRepositoryChangesImpl(long repositoryId)
|
|
BuildRepositoryChangesImpl(long repositoryId,
java.lang.String vcsRevisionKey,
java.util.List<? extends CommitContext> changes)
|
|
BuildRepositoryChangesImpl(java.lang.String vcsRevisionKey)
|
|
BuildRepositoryChangesImpl(java.lang.String vcsRevisionKey,
java.util.List<? extends CommitContext> changes)
|
Method Summary | |
---|---|
int |
compareTo(BuildRepositoryChanges o)
|
boolean |
equals(java.lang.Object o)
|
java.util.List<CommitContext> |
getChanges()
List of Commit objects that triggered off this particular build. |
java.lang.String |
getCustomXmlData()
Repository specific data related to this changeset, e.g. |
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 |
long |
getRepositoryId()
|
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<CommitContext> changes)
|
void |
setCustomXmlData(java.lang.String customXmlData)
|
void |
setPreviousVcsRevisionKey(java.lang.String previousVcsRevisionKey)
|
void |
setRepositoryId(long repositoryId)
|
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 BuildRepositoryChangesImpl()
public BuildRepositoryChangesImpl(long repositoryId)
public BuildRepositoryChangesImpl(@NotNull java.lang.String vcsRevisionKey)
public BuildRepositoryChangesImpl(@NotNull java.lang.String vcsRevisionKey, @NotNull java.util.List<? extends CommitContext> changes)
public BuildRepositoryChangesImpl(long repositoryId, @Nullable java.lang.String vcsRevisionKey, @Nullable java.util.List<? extends CommitContext> changes)
Method Detail |
---|
public long getRepositoryId()
getRepositoryId
in interface BuildRepositoryChanges
public void setRepositoryId(long repositoryId)
setRepositoryId
in interface BuildRepositoryChanges
@Nullable public java.lang.String getVcsRevisionKey()
BuildRepositoryChanges
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 BuildRepositoryChanges
public void setVcsRevisionKey(@NotNull java.lang.String vcsRevisionKey)
setVcsRevisionKey
in interface BuildRepositoryChanges
@Nullable public java.lang.String getPreviousVcsRevisionKey()
BuildRepositoryChanges
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 BuildRepositoryChanges
public void setPreviousVcsRevisionKey(@Nullable java.lang.String previousVcsRevisionKey)
setPreviousVcsRevisionKey
in interface BuildRepositoryChanges
public java.lang.String getVcsLastChangeRevisionKey()
BuildRepositoryChanges
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 BuildRepositoryChanges
public void setVcsLastChangeRevisionKey(java.lang.String vcsLastChangeRevisionKey)
setVcsLastChangeRevisionKey
in interface BuildRepositoryChanges
@NotNull public java.util.List<CommitContext> getChanges()
BuildRepositoryChanges
List
of Commit
objects that triggered off this particular build. Returns empty collection if no changes
returned.
getChanges
in interface BuildRepositoryChanges
List
of Commit
s. May be emptypublic void setChanges(@NotNull java.util.List<CommitContext> changes)
setChanges
in interface BuildRepositoryChanges
public int getSkippedCommitsCount()
BuildRepositoryChanges
getSkippedCommitsCount
in interface BuildRepositoryChanges
public void setSkippedCommitsCount(int skippedCommitsCount)
setSkippedCommitsCount
in interface BuildRepositoryChanges
public java.lang.String getCustomXmlData()
BuildRepositoryChanges
getCustomXmlData
in interface BuildRepositoryChanges
public void setCustomXmlData(@Nullable java.lang.String customXmlData)
setCustomXmlData
in interface BuildRepositoryChanges
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(BuildRepositoryChanges o)
compareTo
in interface java.lang.Comparable<BuildRepositoryChanges>
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 |