Package com.atlassian.bamboo.v2.build
Class BuildRepositoryChangesImpl
java.lang.Object
com.atlassian.bamboo.v2.build.BuildRepositoryChangesImpl
- All Implemented Interfaces:
BuildRepositoryChanges,Serializable,Comparable<BuildRepositoryChanges>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.since 5.14 avoid using constructor that produces incomplete dataBuildRepositoryChangesImpl(long repositoryId) Deprecated.since 5.14 avoid using constructor that produces incomplete dataBuildRepositoryChangesImpl(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes) Deprecated.since 5.14 avoid using constructor that produces incomplete dataBuildRepositoryChangesImpl(long repositoryId, @Nullable String vcsRevisionKey, @Nullable List<? extends CommitContext> changes, @Nullable VcsBranch actualBranch) BuildRepositoryChangesImpl(@NotNull BuildRepositoryChanges other) BuildRepositoryChangesImpl(@NotNull String vcsRevisionKey) Deprecated.since 5.14 avoid using constructor that produces incomplete dataBuildRepositoryChangesImpl(@NotNull String vcsRevisionKey, @NotNull List<? extends CommitContext> changes) Deprecated.since 5.14 avoid using constructor that produces incomplete data -
Method Summary
Modifier and TypeMethodDescriptionintboolean@Nullable VcsBranch@NotNull List<CommitContext> Repository specific data related to this changeset, e.g. information on SVN externals.@Nullable StringlongintThe 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 StringinthashCode()booleanIndicates if this changeset is reason to start a build.voidsetActualBranch(@Nullable VcsBranch actualBranch) voidsetBuildTrigger(boolean buildTrigger) final voidsetChanges(@NotNull List<? extends CommitContext> changes) voidsetCustomXmlData(@Nullable String customXmlData) voidsetPreviousVcsRevisionKey(@Nullable String previousVcsRevisionKey) voidsetRepositoryId(long repositoryId) voidsetSkippedCommitsCount(int skippedCommitsCount) voidsetVcsRevisionKey(@NotNull String vcsRevisionKey) toString()
-
Constructor Details
-
BuildRepositoryChangesImpl
-
BuildRepositoryChangesImpl
Deprecated.since 5.14 avoid using constructor that produces incomplete data -
BuildRepositoryChangesImpl
Deprecated.since 5.14 avoid using constructor that produces incomplete data -
BuildRepositoryChangesImpl
Deprecated.since 5.14 avoid using constructor that produces incomplete data -
BuildRepositoryChangesImpl
@Deprecated public BuildRepositoryChangesImpl(@NotNull @NotNull String vcsRevisionKey, @NotNull @NotNull List<? extends CommitContext> changes) Deprecated.since 5.14 avoid using constructor that produces incomplete data -
BuildRepositoryChangesImpl
@Deprecated public BuildRepositoryChangesImpl(long repositoryId, @Nullable @Nullable String vcsRevisionKey, @Nullable @Nullable List<? extends CommitContext> changes) Deprecated.since 5.14 avoid using constructor that produces incomplete data -
BuildRepositoryChangesImpl
public BuildRepositoryChangesImpl(long repositoryId, @Nullable @Nullable String vcsRevisionKey, @Nullable @Nullable List<? extends CommitContext> changes, @Nullable @Nullable VcsBranch actualBranch)
-
-
Method Details
-
getRepositoryId
public long getRepositoryId()- Specified by:
getRepositoryIdin interfaceBuildRepositoryChanges
-
setRepositoryId
public void setRepositoryId(long repositoryId) - Specified by:
setRepositoryIdin interfaceBuildRepositoryChanges
-
getVcsRevisionKey
- Specified by:
getVcsRevisionKeyin interfaceBuildRepositoryChanges
-
setVcsRevisionKey
- Specified by:
setVcsRevisionKeyin interfaceBuildRepositoryChanges
-
getPreviousVcsRevisionKey
- Specified by:
getPreviousVcsRevisionKeyin interfaceBuildRepositoryChanges
-
setPreviousVcsRevisionKey
- Specified by:
setPreviousVcsRevisionKeyin interfaceBuildRepositoryChanges
-
getChanges
Description copied from interface:BuildRepositoryChangesListofCommitobjects that triggered off this particular build. Returns empty collection if no changes returned.- Specified by:
getChangesin interfaceBuildRepositoryChanges- Returns:
ListofCommits. May be empty
-
setChanges
- Specified by:
setChangesin interfaceBuildRepositoryChanges
-
getSkippedCommitsCount
public int getSkippedCommitsCount()Description copied from interface:BuildRepositoryChangesThe 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)- Specified by:
getSkippedCommitsCountin interfaceBuildRepositoryChanges- Returns:
- number of skipped commits
-
setSkippedCommitsCount
public void setSkippedCommitsCount(int skippedCommitsCount) - Specified by:
setSkippedCommitsCountin interfaceBuildRepositoryChanges
-
getCustomXmlData
Description copied from interface:BuildRepositoryChangesRepository specific data related to this changeset, e.g. information on SVN externals. Only available server-side.- Specified by:
getCustomXmlDatain interfaceBuildRepositoryChanges- Returns:
-
setCustomXmlData
- Specified by:
setCustomXmlDatain interfaceBuildRepositoryChanges
-
isBuildTrigger
public boolean isBuildTrigger()Description copied from interface:BuildRepositoryChangesIndicates if this changeset is reason to start a build.- Specified by:
isBuildTriggerin interfaceBuildRepositoryChanges- Returns:
- true iff repository is on the triggering repository list of event triggering change detection produciong this object
-
setBuildTrigger
public void setBuildTrigger(boolean buildTrigger) - Specified by:
setBuildTriggerin interfaceBuildRepositoryChanges
-
getActualBranch
- Specified by:
getActualBranchin interfaceBuildRepositoryChanges
-
setActualBranch
- Specified by:
setActualBranchin interfaceBuildRepositoryChanges
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<BuildRepositoryChanges>
-
toString
-