Class PlanRepositoryValidator

java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.PlanRepositoryValidator

public class PlanRepositoryValidator extends Object
  • Constructor Details

    • PlanRepositoryValidator

      public PlanRepositoryValidator(@NotNull @NotNull CachedPlanManager cachedPlanManager)
  • Method Details

    • canChangeDefaultRepository

      public boolean canChangeDefaultRepository(@NotNull @NotNull ImmutablePlan plan)
      Check if default plan repository can be replaced by another repository.
      Parameters:
      plan - plan to test
      Returns:
      true if it's allowed to change default repository