Class PlanRepositoryValidator
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.helpers.PlanRepositoryValidator
-
public class PlanRepositoryValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description PlanRepositoryValidator(@NotNull CachedPlanManager cachedPlanManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canChangeDefaultRepository(@NotNull ImmutablePlan plan)
Check if default plan repository can be replaced by another repository.
-
-
-
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
-
-