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
ConstructorDescriptionBranchCommitInformationImpl
(long chainBranchId) BranchCommitInformationImpl
(@Nullable BranchCommitInformation other) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
copyOf
(BranchCommitInformation other) long
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 Details
-
BranchCommitInformationImpl
public BranchCommitInformationImpl() -
BranchCommitInformationImpl
public BranchCommitInformationImpl(long chainBranchId) -
BranchCommitInformationImpl
-
-
Method Details
-
getCreatingAuthor
- Specified by:
getCreatingAuthor
in interfaceBranchCommitInformation
- Returns:
Author
who created the branch
-
getCreatingCommitDate
- Specified by:
getCreatingCommitDate
in interfaceBranchCommitInformation
- Returns:
Date
of branch creation.
-
getCreatingChangeSetId
- Specified by:
getCreatingChangeSetId
in interfaceBranchCommitInformation
- Returns:
- VCS identifier of commit that created the branch.
-
getLatestCommitAuthor
- Specified by:
getLatestCommitAuthor
in interfaceBranchCommitInformation
- Returns:
Author
who made the last commit to the branch.
-
getLatestCommitDate
- Specified by:
getLatestCommitDate
in interfaceBranchCommitInformation
- Returns:
Date
of the last commit.
-
getLatestCommitChangeSetId
- Specified by:
getLatestCommitChangeSetId
in interfaceBranchCommitInformation
- Returns:
- VCS identifier of the last commit.
-
setCreatingAuthor
- Specified by:
setCreatingAuthor
in interfaceBranchCommitInformation
-
setLatestCommitAuthor
- Specified by:
setLatestCommitAuthor
in interfaceBranchCommitInformation
-
setCreatingCommitDate
- Specified by:
setCreatingCommitDate
in interfaceBranchCommitInformation
-
setLatestCommitDate
- Specified by:
setLatestCommitDate
in interfaceBranchCommitInformation
-
setLatestCommitChangeSetId
- Specified by:
setLatestCommitChangeSetId
in interfaceBranchCommitInformation
-
setCreatingChangeSetId
- 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
-