Class JobImportHelper
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.helpers.JobImportHelper
-
public class JobImportHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description JobImportHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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)
-
-