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
ConstructorsConstructorDescriptionBranchCommitInformationImpl(long chainBranchId) BranchCommitInformationImpl(@Nullable BranchCommitInformation other) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyOf(BranchCommitInformation other) longvoidsetChainBranchId(long chainBranchId) voidsetCreatingAuthor(Author creatingAuthor) voidsetCreatingChangeSetId(String creatingChangeSetId) voidsetCreatingCommitDate(Date creatingCommitDate) voidsetLatestCommitAuthor(Author latestCommitAuthor) voidsetLatestCommitChangeSetId(String latestCommitChangeSetId) voidsetLatestCommitDate(Date latestCommitDate) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods 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:
getCreatingAuthorin interfaceBranchCommitInformation- Returns:
Authorwho created the branch
-
getCreatingCommitDate
- Specified by:
getCreatingCommitDatein interfaceBranchCommitInformation- Returns:
Dateof branch creation.
-
getCreatingChangeSetId
- Specified by:
getCreatingChangeSetIdin interfaceBranchCommitInformation- Returns:
- VCS identifier of commit that created the branch.
-
getLatestCommitAuthor
- Specified by:
getLatestCommitAuthorin interfaceBranchCommitInformation- Returns:
Authorwho made the last commit to the branch.
-
getLatestCommitDate
- Specified by:
getLatestCommitDatein interfaceBranchCommitInformation- Returns:
Dateof the last commit.
-
getLatestCommitChangeSetId
- Specified by:
getLatestCommitChangeSetIdin interfaceBranchCommitInformation- Returns:
- VCS identifier of the last commit.
-
setCreatingAuthor
- Specified by:
setCreatingAuthorin interfaceBranchCommitInformation
-
setLatestCommitAuthor
- Specified by:
setLatestCommitAuthorin interfaceBranchCommitInformation
-
setCreatingCommitDate
- Specified by:
setCreatingCommitDatein interfaceBranchCommitInformation
-
setLatestCommitDate
- Specified by:
setLatestCommitDatein interfaceBranchCommitInformation
-
setLatestCommitChangeSetId
- Specified by:
setLatestCommitChangeSetIdin interfaceBranchCommitInformation
-
setCreatingChangeSetId
- Specified by:
setCreatingChangeSetIdin interfaceBranchCommitInformation
-
getChainBranchId
public long getChainBranchId()- Specified by:
getChainBranchIdin interfaceBranchCommitInformation- Returns:
- id of the chain branch this object is associated with
-
setChainBranchId
public void setChainBranchId(long chainBranchId) -
copyOf
-