public class BuildRepositoryChangesImpl extends Object implements BuildRepositoryChanges
| Constructor and Description |
|---|
BuildRepositoryChangesImpl()
Deprecated.
since 5.14 avoid using constructor that produces incomplete data
|
BuildRepositoryChangesImpl(BuildRepositoryChanges other) |
BuildRepositoryChangesImpl(long repositoryId)
Deprecated.
since 5.14 avoid using constructor that produces incomplete data
|
BuildRepositoryChangesImpl(long repositoryId,
String vcsRevisionKey,
List<? extends CommitContext> changes)
Deprecated.
since 5.14 avoid using constructor that produces incomplete data
|
BuildRepositoryChangesImpl(long repositoryId,
String vcsRevisionKey,
List<? extends CommitContext> changes,
VcsBranch actualBranch) |
BuildRepositoryChangesImpl(String vcsRevisionKey)
Deprecated.
since 5.14 avoid using constructor that produces incomplete data
|
BuildRepositoryChangesImpl(String vcsRevisionKey,
List<? extends CommitContext> changes)
Deprecated.
since 5.14 avoid using constructor that produces incomplete data
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BuildRepositoryChanges o) |
boolean |
equals(Object o) |
VcsBranch |
getActualBranch() |
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() |
String |
getVcsRevisionKey()
Returns a
Repository dependent "id" for this checkout. |
int |
hashCode() |
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 overriddenVcsBranch) |
void |
setPreviousVcsRevisionKey(String previousVcsRevisionKey) |
void |
setRepositoryId(long repositoryId) |
void |
setSkippedCommitsCount(int skippedCommitsCount) |
void |
setVcsLastChangeRevisionKey(String vcsLastChangeRevisionKey) |
void |
setVcsRevisionKey(String vcsRevisionKey) |
String |
toString() |
public BuildRepositoryChangesImpl(@NotNull
BuildRepositoryChanges other)
@Deprecated public BuildRepositoryChangesImpl()
@Deprecated public BuildRepositoryChangesImpl(long repositoryId)
@Deprecated public BuildRepositoryChangesImpl(@NotNull String vcsRevisionKey)
@Deprecated public BuildRepositoryChangesImpl(@NotNull String vcsRevisionKey, @NotNull List<? extends CommitContext> changes)
@Deprecated public BuildRepositoryChangesImpl(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes)
public BuildRepositoryChangesImpl(long repositoryId,
@Nullable
String vcsRevisionKey,
@Nullable
List<? extends CommitContext> changes,
@Nullable
VcsBranch actualBranch)
public long getRepositoryId()
getRepositoryId in interface BuildRepositoryChangespublic void setRepositoryId(long repositoryId)
setRepositoryId in interface BuildRepositoryChanges@Nullable public String getVcsRevisionKey()
BuildRepositoryChangesRepository 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 consistentgetVcsRevisionKey in interface BuildRepositoryChangespublic void setVcsRevisionKey(@NotNull
String vcsRevisionKey)
setVcsRevisionKey in interface BuildRepositoryChanges@Nullable public String getPreviousVcsRevisionKey()
BuildRepositoryChangesRepository 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 consistentgetPreviousVcsRevisionKey in interface BuildRepositoryChangespublic void setPreviousVcsRevisionKey(@Nullable
String previousVcsRevisionKey)
setPreviousVcsRevisionKey in interface BuildRepositoryChangespublic String getVcsLastChangeRevisionKey()
getVcsLastChangeRevisionKey in interface BuildRepositoryChangespublic void setVcsLastChangeRevisionKey(String vcsLastChangeRevisionKey)
setVcsLastChangeRevisionKey in interface BuildRepositoryChanges@NotNull public List<CommitContext> getChanges()
BuildRepositoryChangesList of Commit objects that triggered off this particular build. Returns empty collection if no changes
returned.getChanges in interface BuildRepositoryChangesList of Commits. May be emptypublic final void setChanges(@NotNull
List<? extends CommitContext> changes)
setChanges in interface BuildRepositoryChangespublic int getSkippedCommitsCount()
BuildRepositoryChangesgetSkippedCommitsCount in interface BuildRepositoryChangespublic void setSkippedCommitsCount(int skippedCommitsCount)
setSkippedCommitsCount in interface BuildRepositoryChangespublic String getCustomXmlData()
BuildRepositoryChangesgetCustomXmlData in interface BuildRepositoryChangespublic void setCustomXmlData(@Nullable
String customXmlData)
setCustomXmlData in interface BuildRepositoryChangespublic boolean isBuildTrigger()
BuildRepositoryChangesisBuildTrigger in interface BuildRepositoryChangespublic void setBuildTrigger(boolean buildTrigger)
setBuildTrigger in interface BuildRepositoryChanges@Nullable public VcsBranch getOverriddenVcsBranch()
getOverriddenVcsBranch in interface BuildRepositoryChangespublic void setOverriddenVcsBranch(@NotNull
VcsBranch overriddenVcsBranch)
setOverriddenVcsBranch in interface BuildRepositoryChanges@Nullable public VcsBranch getActualBranch()
getActualBranch in interface BuildRepositoryChangespublic void setActualBranch(@Nullable
VcsBranch actualBranch)
setActualBranch in interface BuildRepositoryChangespublic int compareTo(BuildRepositoryChanges o)
compareTo in interface Comparable<BuildRepositoryChanges>Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.