com.atlassian.bamboo.plan.branch
Interface BranchCommitInformationManager

All Known Implementing Classes:
BranchCommitInformationManagerImpl

public interface BranchCommitInformationManager


Method Summary
 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.
 

Method Detail

updateCreatingCommitInformation

BranchCommitInformation updateCreatingCommitInformation(@NotNull
                                                        BranchCommitInformation source,
                                                        @NotNull
                                                        CommitContext commitContext)
Creates new BranchCommitInformation copying the information from the source and then updating creating commit with provided CommitContext. Doesn't save to the DB.

Parameters:
source -
commitContext -
Returns:
update BranchCommitInformation

updateLatestCommitInformation

BranchCommitInformation updateLatestCommitInformation(@NotNull
                                                      BranchCommitInformation source,
                                                      @NotNull
                                                      CommitContext commitContext)
Creates new BranchCommitInformation copying the information from the source and then updating latest commit with provided CommitContext. Doesn't save to the DB.

Parameters:
source -
commitContext -
Returns:
updated BranchCommitInformation

save

void save(@NotNull
          BranchCommitInformation branchCommitInformation)
Saves BranchCommitInformation

Parameters:
branchCommitInformation -


Copyright © 2012 Atlassian. All Rights Reserved.