Class PlanConfigHelpers
java.lang.Object
com.atlassian.bamboo.build.creation.PlanConfigHelpers
Utility class that makes invoking validation on
PlanConfigHelper
easier.
Not thread safe.-
Method Summary
Modifier and TypeMethodDescriptionstatic Runnable
getValidationRunnableForHelpers
(@NotNull com.atlassian.struts.ValidationAware validationAware, @NotNull BuildConfiguration buildConfiguration, @NotNull PlanConfigHelper... planConfigHelpers) Get Runnable that goes through the provided helpers and invokes validation on provided build configuration.
-
Method Details
-
getValidationRunnableForHelpers
public static Runnable getValidationRunnableForHelpers(@NotNull @NotNull com.atlassian.struts.ValidationAware validationAware, @NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull PlanConfigHelper... planConfigHelpers) Get Runnable that goes through the provided helpers and invokes validation on provided build configuration. Returned runnable is not protected from concurrent modification of build configuration.
-