Package com.atlassian.bamboo.v2.build
Interface BuildRepositoryChanges
-
- All Superinterfaces:
Comparable<BuildRepositoryChanges>
,Serializable
- All Known Implementing Classes:
BuildRepositoryChangesImpl
public interface BuildRepositoryChanges extends Comparable<BuildRepositoryChanges>, Serializable
- Since:
- 3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable VcsBranch
getActualBranch()
@NotNull List<CommitContext>
getChanges()
@Nullable String
getCustomXmlData()
Repository specific data related to this changeset, e.g.@Nullable String
getPreviousVcsRevisionKey()
Returns aRepository
dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from theRepository
as to be internally consistentlong
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 aRepository
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)
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getRepositoryId
long getRepositoryId()
-
setRepositoryId
void setRepositoryId(long repositoryId)
-
getVcsRevisionKey
@Nullable @Nullable String getVcsRevisionKey()
Returns aRepository
dependent "id" for this checkout. e.g. revision number for SVN etc. This is value is taken from theRepository
as to be internally consistent- Returns:
- Revision "id"
-
setVcsRevisionKey
void setVcsRevisionKey(@NotNull @NotNull String vcsRevisionKey)
-
getPreviousVcsRevisionKey
@Nullable @Nullable String getPreviousVcsRevisionKey()
Returns aRepository
dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey This is value is taken from theRepository
as to be internally consistent- Returns:
-
setPreviousVcsRevisionKey
void setPreviousVcsRevisionKey(@Nullable @Nullable String previousVcsRevisionKey)
-
getChanges
@NotNull @NotNull List<CommitContext> getChanges()
-
setChanges
void setChanges(@NotNull @NotNull List<? extends CommitContext> changes)
-
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
@Nullable @Nullable String getCustomXmlData()
Repository specific data related to this changeset, e.g. information on SVN externals. Only available server-side.- Returns:
-
setCustomXmlData
void setCustomXmlData(@Nullable @Nullable String customXmlData)
-
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
@Nullable @Nullable VcsBranch getActualBranch()
-
setActualBranch
void setActualBranch(@Nullable @Nullable VcsBranch actualBranch)
-
-