public class BranchCommitInformationManagerImpl extends Object implements BranchCommitInformationManager
Constructor and Description |
---|
BranchCommitInformationManagerImpl(BranchCommitInformationDao branchCommitInformationDao,
ExtendedAuthorManager extendedAuthorManager,
AuthorCreatorService authorCreatorService,
JiraBranchLinkingService jiraBranchLinkingService,
VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Method and Description |
---|---|
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 . |
public BranchCommitInformationManagerImpl(BranchCommitInformationDao branchCommitInformationDao, ExtendedAuthorManager extendedAuthorManager, AuthorCreatorService authorCreatorService, JiraBranchLinkingService jiraBranchLinkingService, VcsRepositoryManager vcsRepositoryManager)
public void initialiseCommitInformation(ImmutableChainBranch branch) throws RepositoryException
BranchCommitInformationManager
BranchCommitInformation
attached to itinitialiseCommitInformation
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
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.