Class JobImportHelper


  • public class JobImportHelper
    extends Object
    • Constructor Detail

      • JobImportHelper

        public JobImportHelper()
    • Method Detail

      • findJobByKeyExpectingSuccess

        public static Job findJobByKeyExpectingSuccess​(AbstractChain defaultChain,
                                                       com.atlassian.bamboo.specs.api.model.BambooKeyProperties jobReference)
      • findPlanByKey

        public static <T extends ImmutablePlanOptional<T> findPlanByKey​(List<T> jobs,
                                                                          com.atlassian.bamboo.specs.api.model.BambooKeyProperties jobReference)
      • findPlanByOidOrKey

        public static <T extends ImmutablePlanOptional<T> findPlanByOidOrKey​(List<T> jobs,
                                                                               com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties jobReference)
      • findPlanByOidOrKey

        public static <T extends ImmutablePlanOptional<T> findPlanByOidOrKey​(Stream<T> jobs,
                                                                               com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties jobReference)