Package com.atlassian.bamboo.plan.branch
Class BranchMetadataCheckServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.branch.BranchMetadataCheckServiceImpl
-
- All Implemented Interfaces:
BranchMetadataCheckService
public class BranchMetadataCheckServiceImpl extends Object implements BranchMetadataCheckService
-
-
Constructor Summary
Constructors Constructor Description BranchMetadataCheckServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPlansRepositoryChanged(@NotNull PlansDefaultVcsRepositoryChanged event)
boolean
verifyAndUpdateVcsBranch(@NotNull ImmutableChainBranch immutableChainBranch)
Verify metadata against current vcs configuration.
-
-
-
Method Detail
-
verifyAndUpdateVcsBranch
public boolean verifyAndUpdateVcsBranch(@NotNull @NotNull ImmutableChainBranch immutableChainBranch)
Description copied from interface:BranchMetadataCheckService
Verify metadata against current vcs configuration. Updated the vcs configuration and/or metadata if the inconsistency can be resolved automatically.- Specified by:
verifyAndUpdateVcsBranch
in interfaceBranchMetadataCheckService
- Returns:
- true if branch is healthy, false if there is an unresolvable inconsistency.
-
onPlansRepositoryChanged
@EventListener public void onPlansRepositoryChanged(@NotNull @NotNull PlansDefaultVcsRepositoryChanged event)
-
-