public interface BranchCommitInformationManager
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 . |
void initialiseCommitInformation(ImmutableChainBranch branch) throws RepositoryException
BranchCommitInformation
attached to itbranch
- RepositoryException
BranchCommitInformation updateCreatingCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
BranchCommitInformation
copying the information from the source and then updating creating commit
with provided CommitContext
. Doesn't save to the DB.source
- commitContext
- BranchCommitInformation
BranchCommitInformation updateLatestCommitInformation(@NotNull BranchCommitInformation source, @NotNull CommitContext commitContext)
BranchCommitInformation
copying the information from the source and then updating latest commit
with provided CommitContext
. Doesn't save to the DB.source
- commitContext
- BranchCommitInformation
void save(@NotNull BranchCommitInformation branchCommitInformation)
BranchCommitInformation
branchCommitInformation
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.