java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.JobImportHelper

public class JobImportHelper extends Object
  • Constructor Details

    • JobImportHelper

      public JobImportHelper()
  • Method Details

    • findJobByKeyExpectingSuccess

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

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

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

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