Class PlanRepositoryValidator


  • public class PlanRepositoryValidator
    extends Object
    • Constructor Detail

      • PlanRepositoryValidator

        public PlanRepositoryValidator​(@NotNull
                                       @NotNull CachedPlanManager cachedPlanManager)
    • Method Detail

      • 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