public interface BuildRepositoryChanges extends Comparable<BuildRepositoryChanges>, Serializable
| Modifier and Type | Method and Description |
|---|---|
List<CommitContext> |
getChanges()
|
String |
getCustomXmlData()
Repository specific data related to this changeset, e.g.
|
VcsBranch |
getOverriddenVcsBranch() |
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)
|
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
* |
String |
getVcsRevisionKey()
Returns a
Repository dependent "id" for this checkout. |
boolean |
isBuildTrigger()
Indicates if this changeset is reason to start a build.
|
void |
setBuildTrigger(boolean buildTrigger) |
void |
setChanges(List<CommitContext> changes) |
void |
setCustomXmlData(String customXmlData) |
void |
setOverriddenVcsBranch(VcsBranch effectiveVcsBranchName) |
void |
setPreviousVcsRevisionKey(String previousVcsRevisionKey) |
void |
setRepositoryId(long repositoryId) |
void |
setSkippedCommitsCount(int skippedCommitsCount) |
void |
setVcsLastChangeRevisionKey(String vcsRevisionKeyForSubpath) |
void |
setVcsRevisionKey(String vcsRevisionKey) |
compareTolong getRepositoryId()
void setRepositoryId(long repositoryId)
@Nullable String getVcsRevisionKey()
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 consistentvoid setVcsRevisionKey(@NotNull
String vcsRevisionKey)
@Nullable String getPreviousVcsRevisionKey()
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(@Nullable
String previousVcsRevisionKey)
@Nullable String getVcsLastChangeRevisionKey()
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
*void setVcsLastChangeRevisionKey(String vcsRevisionKeyForSubpath)
@NotNull List<CommitContext> getChanges()
void setChanges(@NotNull
List<CommitContext> changes)
int getSkippedCommitsCount()
void setSkippedCommitsCount(int skippedCommitsCount)
@Nullable String getCustomXmlData()
void setCustomXmlData(@Nullable
String customXmlData)
boolean isBuildTrigger()
void setBuildTrigger(boolean buildTrigger)
@Nullable VcsBranch getOverriddenVcsBranch()
void setOverriddenVcsBranch(@NotNull
VcsBranch effectiveVcsBranchName)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.