public interface BuildChanges extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addRepositoryChanges(BuildRepositoryChanges repositoryChanges) |
BuildRepositoryChanges |
getBuildRepositoryChanges(long repositoryId) |
List<CommitContext> |
getChanges()
Get changes from all repositories
|
List<CommitContext> |
getChanges(long repositoryId)
|
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)
|
String |
getVcsLastChangeRevisionKey(long repositoryId)
Deprecated.
since 5.11 this value is not longer provided as it's too costly
|
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. |
void |
setChanges(long repositoryId,
List<CommitContext> changes) |
void |
setIntegrationBranchRevisionData(PlanVcsRevisionData integrationBranchRevisionData) |
void |
setIntegrationRepositoryId(long integrationRepositoryId) |
void |
setPreviousVcsRevisionKey(long repositoryId,
String previousVcsRevisionKey) |
void |
setSkippedCommitsCount(long repositoryId,
int skippedCommitsCount) |
void |
setVcsLastChangeRevisionKey(long repositoryId,
String vcsRevisionKeyForSubpath)
Deprecated.
since 5.11 this method has no effect
|
void |
setVcsRevisionKey(long repositoryId,
String vcsRevisionKey) |
void addRepositoryChanges(@NotNull BuildRepositoryChanges repositoryChanges)
Iterable<BuildRepositoryChanges> getRepositoryChanges()
@Nullable String getVcsRevisionKey(long repositoryId)
Repository
dependent "id" for this checkout. e.g. revision number for
SVN etc. This is value is taken from the Repository
as to be internally consistentvoid setVcsRevisionKey(long repositoryId, @NotNull String vcsRevisionKey)
@NotNull PlanVcsRevisionData getVcsRevisionData(long repositoryId)
PlanVcsRevisionData
containing Repository
dependent vcs revision data for this checkout.repositoryId
- String getPreviousVcsRevisionKey(long repositoryId)
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 consistentvoid setPreviousVcsRevisionKey(long repositoryId, @Nullable String previousVcsRevisionKey)
@Deprecated String getVcsLastChangeRevisionKey(long repositoryId)
@Deprecated void setVcsLastChangeRevisionKey(long repositoryId, String vcsRevisionKeyForSubpath)
@NotNull List<CommitContext> getChanges(long repositoryId)
@NotNull List<CommitContext> getChanges()
void setChanges(long repositoryId, @NotNull List<CommitContext> changes)
int getSkippedCommitsCount(long repositoryId)
void setSkippedCommitsCount(long repositoryId, int skippedCommitsCount)
long getIntegrationRepositoryId()
void setIntegrationRepositoryId(long integrationRepositoryId)
@Nullable PlanVcsRevisionData getIntegrationBranchRevisionData()
void setIntegrationBranchRevisionData(@NotNull PlanVcsRevisionData integrationBranchRevisionData)
@NotNull BuildRepositoryChanges getBuildRepositoryChanges(long repositoryId)
repositoryId
- repository idBuildRepositoryChanges
object for a specified repository id.IllegalArgumentException
- if the repository is not included in this changeset.Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.