Package com.atlassian.bamboo.plan.branch
Interface BranchMetadataCheckService
- All Known Implementing Classes:
BranchMetadataCheckServiceImpl
@Internal
public interface BranchMetadataCheckService
Service that verifies whether a branch defined in the vcs configuration
matches the branch 'declared' for a plan branch in its metadata.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
verifyAndUpdateVcsBranch
(@NotNull ImmutableChainBranch immutableChainBranch) Verify metadata against current vcs configuration.
-
Method Details
-
verifyAndUpdateVcsBranch
Verify metadata against current vcs configuration. Updated the vcs configuration and/or metadata if the inconsistency can be resolved automatically.- Returns:
- true if branch is healthy, false if there is an unresolvable inconsistency.
-