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
ConstructorDescriptionRepositoryChangesetImpl
(@NotNull RepositoryDataEntity repositoryData, @NotNull ResultsSummary resultsSummary, @Nullable String changesetId, long skippedCommitsCount, int position, boolean buildTrigger) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
int
@NotNull RepositoryDataEntity
@NotNull ResultsSummary
long
The 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)boolean
void
setBuildTrigger
(boolean buildTrigger) void
setChangesetId
(@Nullable String changesetId) void
setCommits
(@NotNull Set<Commit> commits) void
setPosition
(int position) void
setRepositoryData
(@NotNull RepositoryDataEntity repositoryData) void
setResultsSummary
(@NotNull ResultsSummary resultsSummary) void
setSkippedCommitsCount
(long skippedCommitsCount) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods 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:
getRepositoryData
in interfaceRepositoryChangeset
-
getResultsSummary
- Specified by:
getResultsSummary
in interfaceRepositoryChangeset
-
getChangesetId
- Specified by:
getChangesetId
in interfaceRepositoryChangeset
-
getSkippedCommitsCount
public long getSkippedCommitsCount()Description copied from interface:RepositoryChangeset
The 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:
getSkippedCommitsCount
in interfaceRepositoryChangeset
- Returns:
- number of skipped commits
-
getCommits
- Specified by:
getCommits
in interfaceRepositoryChangeset
-
setChangesetId
- Specified by:
setChangesetId
in interfaceRepositoryChangeset
-
setSkippedCommitsCount
public void setSkippedCommitsCount(long skippedCommitsCount) - Specified by:
setSkippedCommitsCount
in interfaceRepositoryChangeset
-
setCommits
- Specified by:
setCommits
in interfaceRepositoryChangeset
-
setRepositoryData
- Specified by:
setRepositoryData
in interfaceRepositoryChangeset
-
setResultsSummary
- Specified by:
setResultsSummary
in interfaceRepositoryChangeset
-
isBuildTrigger
public boolean isBuildTrigger()- Specified by:
isBuildTrigger
in interfaceRepositoryChangeset
-
setBuildTrigger
public void setBuildTrigger(boolean buildTrigger) - Specified by:
setBuildTrigger
in interfaceRepositoryChangeset
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceRepositoryChangeset
-
setPosition
public void setPosition(int position) - Specified by:
setPosition
in interfaceRepositoryChangeset
-