com.atlassian.bamboo.resultsummary.vcs
Class RepositoryChangesetImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.resultsummary.vcs.RepositoryChangesetImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, RepositoryChangeset, Cloneable

public class RepositoryChangesetImpl
extends BambooEntityObject
implements RepositoryChangeset


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
RepositoryChangesetImpl()
           
RepositoryChangesetImpl(RepositoryDataEntity repositoryData, ResultsSummary resultsSummary, String changesetId, long skippedCommitsCount, int position, boolean buildTrigger)
           
 
Method Summary
 String getChangesetId()
           
 Set<Commit> getCommits()
           
 int getPosition()
           
 RepositoryDataEntity getRepositoryData()
           
 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(String changesetId)
           
 void setCommits(Set<Commit> commits)
           
 void setPosition(int position)
           
 void setRepositoryData(RepositoryDataEntity repositoryData)
           
 void setResultsSummary(ResultsSummary resultsSummary)
           
 void setSkippedCommitsCount(long skippedCommitsCount)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

RepositoryChangesetImpl

public RepositoryChangesetImpl()

RepositoryChangesetImpl

public RepositoryChangesetImpl(@NotNull
                               RepositoryDataEntity repositoryData,
                               @NotNull
                               ResultsSummary resultsSummary,
                               @Nullable
                               String changesetId,
                               long skippedCommitsCount,
                               int position,
                               boolean buildTrigger)
Method Detail

getRepositoryData

@NotNull
public RepositoryDataEntity getRepositoryData()
Specified by:
getRepositoryData in interface RepositoryChangeset

getResultsSummary

@NotNull
public ResultsSummary getResultsSummary()
Specified by:
getResultsSummary in interface RepositoryChangeset

getChangesetId

@Nullable
public String getChangesetId()
Specified by:
getChangesetId in interface RepositoryChangeset

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 interface RepositoryChangeset
Returns:
number of skipped commits

getCommits

@NotNull
public Set<Commit> getCommits()
Specified by:
getCommits in interface RepositoryChangeset

setChangesetId

public void setChangesetId(@Nullable
                           String changesetId)
Specified by:
setChangesetId in interface RepositoryChangeset

setSkippedCommitsCount

public void setSkippedCommitsCount(long skippedCommitsCount)
Specified by:
setSkippedCommitsCount in interface RepositoryChangeset

setCommits

public void setCommits(@NotNull
                       Set<Commit> commits)
Specified by:
setCommits in interface RepositoryChangeset

setRepositoryData

public void setRepositoryData(@NotNull
                              RepositoryDataEntity repositoryData)
Specified by:
setRepositoryData in interface RepositoryChangeset

setResultsSummary

public void setResultsSummary(@NotNull
                              ResultsSummary resultsSummary)
Specified by:
setResultsSummary in interface RepositoryChangeset

isBuildTrigger

public boolean isBuildTrigger()
Specified by:
isBuildTrigger in interface RepositoryChangeset

setBuildTrigger

public void setBuildTrigger(boolean buildTrigger)
Specified by:
setBuildTrigger in interface RepositoryChangeset

getPosition

public int getPosition()
Specified by:
getPosition in interface RepositoryChangeset

setPosition

public void setPosition(int position)
Specified by:
setPosition in interface RepositoryChangeset


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.