com.atlassian.bamboo.plan.branch
Class BranchCommitInformationImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.plan.branch.BranchCommitInformationImpl
- All Implemented Interfaces:
- BambooIdProvider, BambooObject, BranchCommitInformation, java.lang.Cloneable
public class BranchCommitInformationImpl
- extends BambooEntityObject
- implements BranchCommitInformation
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 |
BranchCommitInformationImpl
public BranchCommitInformationImpl()
BranchCommitInformationImpl
public BranchCommitInformationImpl(long chainBranchId)
BranchCommitInformationImpl
public BranchCommitInformationImpl(@Nullable
BranchCommitInformation other)
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.