Package com.atlassian.bamboo.v2.build
Interface BuildRepositoryChanges
- All Superinterfaces:
Comparable<BuildRepositoryChanges>,Serializable
- All Known Implementing Classes:
BuildRepositoryChangesImpl
- Since:
- 3.3
-
Method Summary
Modifier and TypeMethodDescription@Nullable VcsBranch@NotNull List<CommitContext>@Nullable StringRepository specific data related to this changeset, e.g.@Nullable StringReturns aRepositorydependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from theRepositoryas to be internally consistentlongintThe 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)@Nullable StringReturns aRepositorydependent "id" for this checkout.booleanIndicates if this changeset is reason to start a build.voidsetActualBranch(@Nullable VcsBranch actualBranch) voidsetBuildTrigger(boolean buildTrigger) voidsetChanges(@NotNull List<? extends CommitContext> changes) voidsetCustomXmlData(@Nullable String customXmlData) voidsetPreviousVcsRevisionKey(@Nullable String previousVcsRevisionKey) voidsetRepositoryId(long repositoryId) voidsetSkippedCommitsCount(int skippedCommitsCount) voidsetVcsRevisionKey(@NotNull String vcsRevisionKey) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getRepositoryId
long getRepositoryId() -
setRepositoryId
void setRepositoryId(long repositoryId) -
getVcsRevisionKey
Returns aRepositorydependent "id" for this checkout. e.g. revision number for SVN etc. This is value is taken from theRepositoryas to be internally consistent- Returns:
- Revision "id"
-
setVcsRevisionKey
-
getPreviousVcsRevisionKey
Returns aRepositorydependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from theRepositoryas to be internally consistent- Returns:
-
setPreviousVcsRevisionKey
-
getChanges
-
setChanges
-
getSkippedCommitsCount
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)- Returns:
- number of skipped commits
-
setSkippedCommitsCount
void setSkippedCommitsCount(int skippedCommitsCount) -
getCustomXmlData
Repository specific data related to this changeset, e.g. information on SVN externals. Only available server-side.- Returns:
-
setCustomXmlData
-
isBuildTrigger
boolean isBuildTrigger()Indicates if this changeset is reason to start a build.- Returns:
- true iff repository is on the triggering repository list of event triggering change detection produciong this object
- Since:
- 4.3
-
setBuildTrigger
void setBuildTrigger(boolean buildTrigger) - Since:
- 4.3
-
getActualBranch
-
setActualBranch
-