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, Cloneable
public class BranchCommitInformationImpl
- extends BambooEntityObject
- implements BranchCommitInformation
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
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 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.