|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.branch.BranchCommitInformationManagerImpl
public class BranchCommitInformationManagerImpl
Constructor Summary | |
---|---|
BranchCommitInformationManagerImpl(BranchCommitInformationDao branchCommitInformationDao,
ExtendedAuthorManager extendedAuthorManager,
AuthorCreatorService authorCreatorService,
JiraBranchLinkingService jiraBranchLinkingService)
|
Method Summary | |
---|---|
void |
initialiseCommitInformation(ImmutableChainBranch branch)
Initialises the commit information if the branch doesn't have a BranchCommitInformation attached to it |
void |
save(BranchCommitInformation branchCommitInformation)
Saves BranchCommitInformation |
BranchCommitInformation |
updateCreatingCommitInformation(BranchCommitInformation source,
CommitContext commitContext)
Creates new BranchCommitInformation copying the information from the source and then updating creating commit
with provided CommitContext . |
BranchCommitInformation |
updateLatestCommitInformation(BranchCommitInformation source,
CommitContext commitContext)
Creates new BranchCommitInformation copying the information from the source and then updating latest commit
with provided CommitContext . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchCommitInformationManagerImpl(BranchCommitInformationDao branchCommitInformationDao, ExtendedAuthorManager extendedAuthorManager, AuthorCreatorService authorCreatorService, JiraBranchLinkingService jiraBranchLinkingService)
Method Detail |
---|
public void initialiseCommitInformation(ImmutableChainBranch branch) throws RepositoryException
BranchCommitInformationManager
BranchCommitInformation
attached to it
initialiseCommitInformation
in interface BranchCommitInformationManager
RepositoryException
public BranchCommitInformation updateCreatingCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
BranchCommitInformationManager
BranchCommitInformation
copying the information from the source and then updating creating commit
with provided CommitContext
. Doesn't save to the DB.
updateCreatingCommitInformation
in interface BranchCommitInformationManager
BranchCommitInformation
public BranchCommitInformation updateLatestCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
BranchCommitInformationManager
BranchCommitInformation
copying the information from the source and then updating latest commit
with provided CommitContext
. Doesn't save to the DB.
updateLatestCommitInformation
in interface BranchCommitInformationManager
BranchCommitInformation
public void save(@NotNull BranchCommitInformation branchCommitInformation)
BranchCommitInformationManager
BranchCommitInformation
save
in interface BranchCommitInformationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |