public interface BuildRepositoryChanges extends Comparable<BuildRepositoryChanges>, Serializable
Modifier and Type | Method and Description |
---|---|
VcsBranch |
getActualBranch() |
List<CommitContext> |
getChanges()
|
String |
getCustomXmlData()
Repository specific data related to this changeset, e.g.
|
VcsBranch |
getOverriddenVcsBranch()
Deprecated.
since 5.14 use
getActualBranch() |
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()
Deprecated.
since 5.11 this value is no longer set since it's too costly
|
String |
getVcsRevisionKey()
Returns a
Repository dependent "id" for this checkout. |
boolean |
isBuildTrigger()
Indicates if this changeset is reason to start a build.
|
void |
setActualBranch(VcsBranch actualBranch) |
void |
setBuildTrigger(boolean buildTrigger) |
void |
setChanges(List<? extends CommitContext> changes) |
void |
setCustomXmlData(String customXmlData) |
void |
setOverriddenVcsBranch(VcsBranch effectiveVcsBranchName)
Deprecated.
since 5.14 use
setActualBranch(VcsBranch) |
void |
setPreviousVcsRevisionKey(String previousVcsRevisionKey) |
void |
setRepositoryId(long repositoryId) |
void |
setSkippedCommitsCount(int skippedCommitsCount) |
void |
setVcsLastChangeRevisionKey(String vcsRevisionKeyForSubpath)
Deprecated.
since 5.11 this method has no effect
|
void |
setVcsRevisionKey(String vcsRevisionKey) |
compareTo
long 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)
@Deprecated @Nullable String getVcsLastChangeRevisionKey()
@Deprecated void setVcsLastChangeRevisionKey(String vcsRevisionKeyForSubpath)
@NotNull List<CommitContext> getChanges()
void setChanges(@NotNull List<? extends CommitContext> changes)
int getSkippedCommitsCount()
void setSkippedCommitsCount(int skippedCommitsCount)
@Nullable String getCustomXmlData()
void setCustomXmlData(@Nullable String customXmlData)
boolean isBuildTrigger()
void setBuildTrigger(boolean buildTrigger)
@Nullable @Deprecated VcsBranch getOverriddenVcsBranch()
getActualBranch()
@Deprecated void setOverriddenVcsBranch(@NotNull VcsBranch effectiveVcsBranchName)
setActualBranch(VcsBranch)
@Nullable VcsBranch getActualBranch()
void setActualBranch(@Nullable VcsBranch actualBranch)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.