|
||||||||||
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(BuildChanges other)
|
Method Summary | |
---|---|
void |
addRepositoryChanges(BuildRepositoryChanges repositoryChanges)
|
boolean |
equals(Object o)
|
BuildRepositoryChanges |
getBuildRepositoryChanges(long repositoryId)
|
com.google.common.collect.ImmutableList<CommitContext> |
getChanges()
Get changes from all repositories |
List<CommitContext> |
getChanges(long repositoryId)
List of Commit objects that triggered off this particular build. |
String |
getIntegrationBranchVcsRevision()
The current revision of the integration branch, that one that was detected during detecting all other changes. |
long |
getIntegrationRepositoryId()
|
String |
getPreviousVcsRevisionKey(long repositoryId)
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 |
Iterable<BuildRepositoryChanges> |
getRepositoryChanges()
|
int |
getSkippedCommitsCount(long repositoryId)
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) |
String |
getVcsLastChangeRevisionKey(long repositoryId)
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 |
PlanVcsRevisionData |
getVcsRevisionData(long repositoryId)
Returns PlanVcsRevisionData containing Repository dependent vcs revision data for this checkout. |
String |
getVcsRevisionKey(long repositoryId)
Returns a Repository dependent "id" for this checkout. |
int |
hashCode()
|
void |
setChanges(long repositoryId,
List<CommitContext> changes)
|
void |
setIntegrationBranchVcsRevision(String revision)
|
void |
setIntegrationRepositoryId(long integrationRepositoryId)
|
void |
setPreviousVcsRevisionKey(long repositoryId,
String previousVcsRevisionKey)
|
void |
setSkippedCommitsCount(long repositoryId,
int skippedCommitsCount)
|
void |
setVcsLastChangeRevisionKey(long repositoryId,
String vcsLastChangeRevisionKey)
|
void |
setVcsRevisionKey(long repositoryId,
String vcsRevisionKey)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildChangesImpl(@NotNull BuildChanges other)
public BuildChangesImpl()
Method Detail |
---|
public void addRepositoryChanges(@NotNull BuildRepositoryChanges repositoryChanges)
addRepositoryChanges
in interface BuildChanges
public Iterable<BuildRepositoryChanges> getRepositoryChanges()
getRepositoryChanges
in interface BuildChanges
@Nullable public String getVcsRevisionKey(long repositoryId)
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(long repositoryId, @NotNull String vcsRevisionKey)
setVcsRevisionKey
in interface BuildChanges
@NotNull public PlanVcsRevisionData getVcsRevisionData(long repositoryId)
BuildChanges
PlanVcsRevisionData
containing Repository
dependent vcs revision data for this checkout.
getVcsRevisionData
in interface BuildChanges
public String getPreviousVcsRevisionKey(long repositoryId)
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(long repositoryId, @Nullable String previousVcsRevisionKey)
setPreviousVcsRevisionKey
in interface BuildChanges
public String getVcsLastChangeRevisionKey(long repositoryId)
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(long repositoryId, String vcsLastChangeRevisionKey)
setVcsLastChangeRevisionKey
in interface BuildChanges
@NotNull public List<CommitContext> getChanges(long repositoryId)
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 empty@NotNull public com.google.common.collect.ImmutableList<CommitContext> getChanges()
BuildChanges
getChanges
in interface BuildChanges
public void setChanges(long repositoryId, @NotNull List<CommitContext> changes)
setChanges
in interface BuildChanges
public int getSkippedCommitsCount(long repositoryId)
BuildChanges
getSkippedCommitsCount
in interface BuildChanges
public void setSkippedCommitsCount(long repositoryId, int skippedCommitsCount)
setSkippedCommitsCount
in interface BuildChanges
public String getIntegrationBranchVcsRevision()
BuildChanges
getIntegrationBranchVcsRevision
in interface BuildChanges
public void setIntegrationBranchVcsRevision(@NotNull String revision)
setIntegrationBranchVcsRevision
in interface BuildChanges
public long getIntegrationRepositoryId()
getIntegrationRepositoryId
in interface BuildChanges
public void setIntegrationRepositoryId(long integrationRepositoryId)
setIntegrationRepositoryId
in interface BuildChanges
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
@NotNull public BuildRepositoryChanges getBuildRepositoryChanges(long repositoryId)
getBuildRepositoryChanges
in interface BuildChanges
repositoryId
- repository id
BuildRepositoryChanges
object for a specified repository id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |