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