Package 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
@Entity public class BranchCommitInformationImpl extends BambooEntityObject implements BranchCommitInformation
-
-
Constructor Summary
Constructors Constructor Description BranchCommitInformationImpl()
BranchCommitInformationImpl(long chainBranchId)
BranchCommitInformationImpl(@Nullable BranchCommitInformation other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copyOf(BranchCommitInformation other)
long
getChainBranchId()
Author
getCreatingAuthor()
String
getCreatingChangeSetId()
Date
getCreatingCommitDate()
Author
getLatestCommitAuthor()
String
getLatestCommitChangeSetId()
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.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
BranchCommitInformationImpl
public BranchCommitInformationImpl()
-
BranchCommitInformationImpl
public BranchCommitInformationImpl(long chainBranchId)
-
BranchCommitInformationImpl
public BranchCommitInformationImpl(@Nullable @Nullable BranchCommitInformation other)
-
-
Method Detail
-
getCreatingAuthor
public Author getCreatingAuthor()
- Specified by:
getCreatingAuthor
in interfaceBranchCommitInformation
- Returns:
Author
who created the branch
-
getCreatingCommitDate
public Date getCreatingCommitDate()
- Specified by:
getCreatingCommitDate
in interfaceBranchCommitInformation
- Returns:
Date
of branch creation.
-
getCreatingChangeSetId
public String getCreatingChangeSetId()
- Specified by:
getCreatingChangeSetId
in interfaceBranchCommitInformation
- Returns:
- VCS identifier of commit that created the branch.
-
getLatestCommitAuthor
public Author getLatestCommitAuthor()
- Specified by:
getLatestCommitAuthor
in interfaceBranchCommitInformation
- Returns:
Author
who made the last commit to the branch.
-
getLatestCommitDate
public Date getLatestCommitDate()
- Specified by:
getLatestCommitDate
in interfaceBranchCommitInformation
- Returns:
Date
of the last commit.
-
getLatestCommitChangeSetId
public String getLatestCommitChangeSetId()
- Specified by:
getLatestCommitChangeSetId
in interfaceBranchCommitInformation
- Returns:
- VCS identifier of the last commit.
-
setCreatingAuthor
public void setCreatingAuthor(Author creatingAuthor)
- Specified by:
setCreatingAuthor
in interfaceBranchCommitInformation
-
setLatestCommitAuthor
public void setLatestCommitAuthor(Author latestCommitAuthor)
- Specified by:
setLatestCommitAuthor
in interfaceBranchCommitInformation
-
setCreatingCommitDate
public void setCreatingCommitDate(Date creatingCommitDate)
- Specified by:
setCreatingCommitDate
in interfaceBranchCommitInformation
-
setLatestCommitDate
public void setLatestCommitDate(Date latestCommitDate)
- Specified by:
setLatestCommitDate
in interfaceBranchCommitInformation
-
setLatestCommitChangeSetId
public void setLatestCommitChangeSetId(String latestCommitChangeSetId)
- Specified by:
setLatestCommitChangeSetId
in interfaceBranchCommitInformation
-
setCreatingChangeSetId
public void setCreatingChangeSetId(String creatingChangeSetId)
- Specified by:
setCreatingChangeSetId
in interfaceBranchCommitInformation
-
getChainBranchId
public long getChainBranchId()
- Specified by:
getChainBranchId
in interfaceBranchCommitInformation
- Returns:
- id of the chain branch this object is associated with
-
setChainBranchId
public void setChainBranchId(long chainBranchId)
-
copyOf
protected void copyOf(BranchCommitInformation other)
-
-