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, 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()
           
 String getCreatingChangeSetId()
          Return VCS identifier of commit that created the branch.
 Date getCreatingCommitDate()
           
 Author getLatestCommitAuthor()
           
 String getLatestCommitChangeSetId()
          Return VCS identifier of the last commit.
 Date getLatestCommitDate()
           
 void setChainBranchId(long chainBranchId)
           
 void setCreatingAuthor(Author creatingAuthor)
           
 void setCreatingChangeSetId(String creatingChangeSetId)
           
 void setCreatingCommitDate(Date creatingCommitDate)
           
 void setLatestCommitAuthor(Author latestCommitAuthor)
           
 void setLatestCommitChangeSetId(String latestCommitChangeSetId)
           
 void setLatestCommitDate(Date latestCommitDate)
           
 
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

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 Date getCreatingCommitDate()
Specified by:
getCreatingCommitDate in interface BranchCommitInformation
Returns:
Date of branch creation.

getCreatingChangeSetId

public 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 Date getLatestCommitDate()
Specified by:
getLatestCommitDate in interface BranchCommitInformation
Returns:
Date of the last commit.

getLatestCommitChangeSetId

public 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(Date creatingCommitDate)
Specified by:
setCreatingCommitDate in interface BranchCommitInformation

setLatestCommitDate

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

setLatestCommitChangeSetId

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

setCreatingChangeSetId

public void setCreatingChangeSetId(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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.