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, java.lang.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, java.lang.String changesetId, long skippedCommitsCount, int position, boolean buildTrigger)
           
 
Method Summary
 java.lang.String getChangesetId()
           
 java.util.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(java.lang.String changesetId)
           
 void setCommits(java.util.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
                               java.lang.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 java.lang.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 java.util.Set<Commit> getCommits()
Specified by:
getCommits in interface RepositoryChangeset

setChangesetId

public void setChangesetId(@Nullable
                           java.lang.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
                       java.util.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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.