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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
verifyAndUpdateVcsBranch(@NotNull ImmutableChainBranch immutableChainBranch)
Verify metadata against current vcs configuration.
-
-
-
Method Detail
-
verifyAndUpdateVcsBranch
boolean verifyAndUpdateVcsBranch(@NotNull @NotNull ImmutableChainBranch immutableChainBranch)
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.
-
-