Class RepositoryChangesetImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.resultsummary.vcs.RepositoryChangesetImpl
- All Implemented Interfaces:
BambooIdProvider,BambooObject,RepositoryChangeset,Cloneable
@Entity
public class RepositoryChangesetImpl
extends BambooEntityObject
implements RepositoryChangeset
-
Constructor Summary
ConstructorsConstructorDescriptionRepositoryChangesetImpl(@NotNull RepositoryDataEntity repositoryData, @NotNull ResultsSummary resultsSummary, @Nullable String changesetId, long skippedCommitsCount, int position, boolean buildTrigger) -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringint@NotNull RepositoryDataEntity@NotNull ResultsSummarylongThe number of commits that were included in this summary, but their details were skipped (because there was too many commits to keep them all in this summary)booleanvoidsetBuildTrigger(boolean buildTrigger) voidsetChangesetId(@Nullable String changesetId) voidsetCommits(@NotNull Set<Commit> commits) voidsetPosition(int position) voidsetRepositoryData(@NotNull RepositoryDataEntity repositoryData) voidsetResultsSummary(@NotNull ResultsSummary resultsSummary) voidsetSkippedCommitsCount(long skippedCommitsCount) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
RepositoryChangesetImpl
public RepositoryChangesetImpl() -
RepositoryChangesetImpl
public RepositoryChangesetImpl(@NotNull @NotNull RepositoryDataEntity repositoryData, @NotNull @NotNull ResultsSummary resultsSummary, @Nullable @Nullable String changesetId, long skippedCommitsCount, int position, boolean buildTrigger)
-
-
Method Details
-
getRepositoryData
- Specified by:
getRepositoryDatain interfaceRepositoryChangeset
-
getResultsSummary
- Specified by:
getResultsSummaryin interfaceRepositoryChangeset
-
getChangesetId
- Specified by:
getChangesetIdin interfaceRepositoryChangeset
-
getSkippedCommitsCount
public long getSkippedCommitsCount()Description copied from interface:RepositoryChangesetThe number of commits that were included in this summary, but their details were skipped (because there was too many commits to keep them all in this summary)- Specified by:
getSkippedCommitsCountin interfaceRepositoryChangeset- Returns:
- number of skipped commits
-
getCommits
- Specified by:
getCommitsin interfaceRepositoryChangeset
-
setChangesetId
- Specified by:
setChangesetIdin interfaceRepositoryChangeset
-
setSkippedCommitsCount
public void setSkippedCommitsCount(long skippedCommitsCount) - Specified by:
setSkippedCommitsCountin interfaceRepositoryChangeset
-
setCommits
- Specified by:
setCommitsin interfaceRepositoryChangeset
-
setRepositoryData
- Specified by:
setRepositoryDatain interfaceRepositoryChangeset
-
setResultsSummary
- Specified by:
setResultsSummaryin interfaceRepositoryChangeset
-
isBuildTrigger
public boolean isBuildTrigger()- Specified by:
isBuildTriggerin interfaceRepositoryChangeset
-
setBuildTrigger
public void setBuildTrigger(boolean buildTrigger) - Specified by:
setBuildTriggerin interfaceRepositoryChangeset
-
getPosition
public int getPosition()- Specified by:
getPositionin interfaceRepositoryChangeset
-
setPosition
public void setPosition(int position) - Specified by:
setPositionin interfaceRepositoryChangeset
-