Class PlanConfigHelpers


  • @Internal
    @NotThreadSafe
    public class PlanConfigHelpers
    extends Object
    Utility class that makes invoking validation on PlanConfigHelper easier. Not thread safe.
    • Method Detail

      • 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.