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
Constructors Constructor Description RepositoryChangesetImpl()
RepositoryChangesetImpl(@NotNull RepositoryDataEntity repositoryData, @NotNull ResultsSummary resultsSummary, @Nullable String changesetId, long skippedCommitsCount, int position, boolean buildTrigger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getChangesetId()
@NotNull Set<Commit>
getCommits()
int
getPosition()
@NotNull RepositoryDataEntity
getRepositoryData()
@NotNull ResultsSummary
getResultsSummary()
long
getSkippedCommitsCount()
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
isBuildTrigger()
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 Detail
-
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 Detail
-
getRepositoryData
@NotNull public @NotNull RepositoryDataEntity getRepositoryData()
- Specified by:
getRepositoryData
in interfaceRepositoryChangeset
-
getResultsSummary
@NotNull public @NotNull ResultsSummary getResultsSummary()
- Specified by:
getResultsSummary
in interfaceRepositoryChangeset
-
getChangesetId
@Nullable public @Nullable String 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
@NotNull public @NotNull Set<Commit> getCommits()
- Specified by:
getCommits
in interfaceRepositoryChangeset
-
setChangesetId
public void setChangesetId(@Nullable @Nullable String changesetId)
- Specified by:
setChangesetId
in interfaceRepositoryChangeset
-
setSkippedCommitsCount
public void setSkippedCommitsCount(long skippedCommitsCount)
- Specified by:
setSkippedCommitsCount
in interfaceRepositoryChangeset
-
setCommits
public void setCommits(@NotNull @NotNull Set<Commit> commits)
- Specified by:
setCommits
in interfaceRepositoryChangeset
-
setRepositoryData
public void setRepositoryData(@NotNull @NotNull RepositoryDataEntity repositoryData)
- Specified by:
setRepositoryData
in interfaceRepositoryChangeset
-
setResultsSummary
public void setResultsSummary(@NotNull @NotNull ResultsSummary resultsSummary)
- 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
-
-