com.atlassian.bamboo.plan.branch
Class BranchCommitInformationImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.plan.branch.BranchCommitInformationImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, BranchCommitInformation, java.lang.Cloneable

public class BranchCommitInformationImpl
extends BambooEntityObject
implements BranchCommitInformation


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
BranchCommitInformationImpl()
           
BranchCommitInformationImpl(BranchCommitInformation other)
           
BranchCommitInformationImpl(long chainBranchId)
           
 
Method Summary
protected  void copyOf(BranchCommitInformation other)
           
 long getChainBranchId()
           
 Author getCreatingAuthor()
           
 java.lang.String getCreatingChangeSetId()
          Return VCS identifier of commit that created the branch.
 java.util.Date getCreatingCommitDate()
           
 Author getLatestCommitAuthor()
           
 java.lang.String getLatestCommitChangeSetId()
          Return VCS identifier of the last commit.
 java.util.Date getLatestCommitDate()
           
 void setChainBranchId(long chainBranchId)
           
 void setCreatingAuthor(Author creatingAuthor)
           
 void setCreatingChangeSetId(java.lang.String creatingChangeSetId)
           
 void setCreatingCommitDate(java.util.Date creatingCommitDate)
           
 void setLatestCommitAuthor(Author latestCommitAuthor)
           
 void setLatestCommitChangeSetId(java.lang.String latestCommitChangeSetId)
           
 void setLatestCommitDate(java.util.Date latestCommitDate)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, 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

BranchCommitInformationImpl

public BranchCommitInformationImpl()

BranchCommitInformationImpl

public BranchCommitInformationImpl(long chainBranchId)

BranchCommitInformationImpl

public BranchCommitInformationImpl(@Nullable
                                   BranchCommitInformation other)
Method Detail

getCreatingAuthor

public Author getCreatingAuthor()
Specified by:
getCreatingAuthor in interface BranchCommitInformation
Returns:
Author who created the branch

getCreatingCommitDate

public java.util.Date getCreatingCommitDate()
Specified by:
getCreatingCommitDate in interface BranchCommitInformation
Returns:
Date of branch creation.

getCreatingChangeSetId

public java.lang.String getCreatingChangeSetId()
Description copied from interface: BranchCommitInformation
Return VCS identifier of commit that created the branch.

Specified by:
getCreatingChangeSetId in interface BranchCommitInformation
Returns:

getLatestCommitAuthor

public Author getLatestCommitAuthor()
Specified by:
getLatestCommitAuthor in interface BranchCommitInformation
Returns:
Author who made the last commit to the branch.

getLatestCommitDate

public java.util.Date getLatestCommitDate()
Specified by:
getLatestCommitDate in interface BranchCommitInformation
Returns:
Date of the last commit.

getLatestCommitChangeSetId

public java.lang.String getLatestCommitChangeSetId()
Description copied from interface: BranchCommitInformation
Return VCS identifier of the last commit.

Specified by:
getLatestCommitChangeSetId in interface BranchCommitInformation
Returns:

setCreatingAuthor

public void setCreatingAuthor(Author creatingAuthor)
Specified by:
setCreatingAuthor in interface BranchCommitInformation

setLatestCommitAuthor

public void setLatestCommitAuthor(Author latestCommitAuthor)
Specified by:
setLatestCommitAuthor in interface BranchCommitInformation

setCreatingCommitDate

public void setCreatingCommitDate(java.util.Date creatingCommitDate)
Specified by:
setCreatingCommitDate in interface BranchCommitInformation

setLatestCommitDate

public void setLatestCommitDate(java.util.Date latestCommitDate)
Specified by:
setLatestCommitDate in interface BranchCommitInformation

setLatestCommitChangeSetId

public void setLatestCommitChangeSetId(java.lang.String latestCommitChangeSetId)
Specified by:
setLatestCommitChangeSetId in interface BranchCommitInformation

setCreatingChangeSetId

public void setCreatingChangeSetId(java.lang.String creatingChangeSetId)
Specified by:
setCreatingChangeSetId in interface BranchCommitInformation

getChainBranchId

public long getChainBranchId()
Specified by:
getChainBranchId in interface BranchCommitInformation
Returns:
id of the chain branch this object is associated with

setChainBranchId

public void setChainBranchId(long chainBranchId)

copyOf

protected void copyOf(BranchCommitInformation other)


Copyright © 2012 Atlassian. All Rights Reserved.