public class BuildChangesImpl extends Object implements BuildChanges
| Modifier and Type | Class and Description |
|---|---|
static class |
BuildChangesImpl.BuildRepositoryChangesNotAvailableException |
| Constructor and Description |
|---|
BuildChangesImpl() |
BuildChangesImpl(@NotNull BuildChanges other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepositoryChanges(@NotNull BuildRepositoryChanges repositoryChanges) |
boolean |
equals(Object o) |
@NotNull BuildRepositoryChanges |
getBuildRepositoryChanges(long repositoryId) |
@NotNull com.google.common.collect.ImmutableList<CommitContext> |
getChanges()
Get changes from all repositories
|
@NotNull List<CommitContext> |
getChanges(long repositoryId)
|
@Nullable PlanVcsRevisionData |
getIntegrationBranchRevisionData() |
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)
|
@NotNull PlanVcsRevisionData |
getVcsRevisionData(long repositoryId)
Returns
PlanVcsRevisionData containing Repository dependent vcs revision data for this checkout. |
@Nullable String |
getVcsRevisionKey(long repositoryId)
Returns a
Repository dependent "id" for this checkout. |
int |
hashCode() |
void |
setChanges(long repositoryId,
@NotNull List<CommitContext> changes) |
void |
setIntegrationBranchRevisionData(@NotNull PlanVcsRevisionData integrationBranchRevisionData) |
void |
setIntegrationRepositoryId(long integrationRepositoryId) |
void |
setPreviousVcsRevisionKey(long repositoryId,
@Nullable String previousVcsRevisionKey) |
void |
setSkippedCommitsCount(long repositoryId,
int skippedCommitsCount) |
void |
setVcsRevisionKey(long repositoryId,
@NotNull String vcsRevisionKey) |
String |
toString() |
public BuildChangesImpl(@NotNull
@NotNull BuildChanges other)
public BuildChangesImpl()
public void addRepositoryChanges(@NotNull
@NotNull BuildRepositoryChanges repositoryChanges)
addRepositoryChanges in interface BuildChangespublic Iterable<BuildRepositoryChanges> getRepositoryChanges()
getRepositoryChanges in interface BuildChanges@Nullable public @Nullable String getVcsRevisionKey(long repositoryId)
BuildChangesRepository dependent "id" for this checkout. e.g. revision number for
SVN etc. This is value is taken from the Repository as to be internally consistentgetVcsRevisionKey in interface BuildChangespublic void setVcsRevisionKey(long repositoryId,
@NotNull
@NotNull String vcsRevisionKey)
setVcsRevisionKey in interface BuildChanges@NotNull public @NotNull PlanVcsRevisionData getVcsRevisionData(long repositoryId)
BuildChangesPlanVcsRevisionData containing Repository dependent vcs revision data for this checkout.getVcsRevisionData in interface BuildChangespublic String getPreviousVcsRevisionKey(long repositoryId)
BuildChangesRepository 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 consistentgetPreviousVcsRevisionKey in interface BuildChangespublic void setPreviousVcsRevisionKey(long repositoryId,
@Nullable
@Nullable String previousVcsRevisionKey)
setPreviousVcsRevisionKey in interface BuildChanges@NotNull public @NotNull List<CommitContext> getChanges(long repositoryId)
BuildChangesList of Commit objects that triggered off this particular build. Returns empty collection if no changes
returned.getChanges in interface BuildChangesList of Commits. May be empty@NotNull public @NotNull com.google.common.collect.ImmutableList<CommitContext> getChanges()
BuildChangesgetChanges in interface BuildChangespublic void setChanges(long repositoryId,
@NotNull
@NotNull List<CommitContext> changes)
setChanges in interface BuildChangespublic int getSkippedCommitsCount(long repositoryId)
BuildChangesgetSkippedCommitsCount in interface BuildChangespublic void setSkippedCommitsCount(long repositoryId,
int skippedCommitsCount)
setSkippedCommitsCount in interface BuildChangespublic long getIntegrationRepositoryId()
getIntegrationRepositoryId in interface BuildChangespublic void setIntegrationRepositoryId(long integrationRepositoryId)
setIntegrationRepositoryId in interface BuildChanges@Nullable public @Nullable PlanVcsRevisionData getIntegrationBranchRevisionData()
getIntegrationBranchRevisionData in interface BuildChangespublic void setIntegrationBranchRevisionData(@NotNull
@NotNull PlanVcsRevisionData integrationBranchRevisionData)
setIntegrationBranchRevisionData in interface BuildChanges@NotNull public @NotNull BuildRepositoryChanges getBuildRepositoryChanges(long repositoryId)
getBuildRepositoryChanges in interface BuildChangesrepositoryId - repository idBuildRepositoryChanges object for a specified repository id.Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.