Class JobImportHelper
java.lang.Object
com.atlassian.bamboo.configuration.external.helpers.JobImportHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Job
findJobByKeyExpectingSuccess
(AbstractChain defaultChain, com.atlassian.bamboo.specs.api.model.BambooKeyProperties jobReference) static <T extends ImmutablePlan>
Optional<T>findPlanByKey
(List<T> jobs, com.atlassian.bamboo.specs.api.model.BambooKeyProperties jobReference) static <T extends ImmutablePlan>
Optional<T>findPlanByOidOrKey
(List<T> jobs, com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties jobReference) static <T extends ImmutablePlan>
Optional<T>findPlanByOidOrKey
(Stream<T> jobs, com.atlassian.bamboo.specs.api.model.plan.AbstractPlanIdentifierProperties jobReference)
-
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)
-