Class BranchMetadataCheckServiceImpl

java.lang.Object
com.atlassian.bamboo.plan.branch.BranchMetadataCheckServiceImpl
All Implemented Interfaces:
BranchMetadataCheckService

public class BranchMetadataCheckServiceImpl extends Object implements BranchMetadataCheckService
  • Constructor Details

    • BranchMetadataCheckServiceImpl

      public BranchMetadataCheckServiceImpl()
  • Method Details

    • 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 interface BranchMetadataCheckService
      Returns:
      true if branch is healthy, false if there is an unresolvable inconsistency.
    • onPlansRepositoryChanged

      @EventListener public void onPlansRepositoryChanged(@NotNull @NotNull PlansDefaultVcsRepositoryChanged event)