Class PlanConfigExportServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.PlanConfigExportServiceImpl
-
- All Implemented Interfaces:
PlanConfigExportService
public class PlanConfigExportServiceImpl extends Object implements PlanConfigExportService
-
-
Constructor Summary
Constructors Constructor Description PlanConfigExportServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iterable<Path>
exportAllPlans()
Export all plans to default location in Bamboo home dir.protected void
exportBuildConfiguration(ImmutablePlan immutablePlan, Consumer<com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<? extends com.atlassian.bamboo.specs.api.model.plan.configuration.PluginConfigurationProperties>> pluginConfigurationConsumer, Consumer<Map<String,Object>> customConfigurationConsumer, List<com.atlassian.bamboo.configuration.external.ExportablePluginModule> exportableModules)
@NotNull Iterable<Path>
exportPlan(@NotNull ImmutableTopLevelPlan topLevelPlan)
Export top level plan to default location in Bamboo home dir.com.atlassian.bamboo.specs.api.builders.plan.Plan
exportPlanToSpecs(@NotNull ImmutableTopLevelPlan plan)
Export top level plan to Bamboo Specs entity.
-
-
-
Method Detail
-
exportAllPlans
@NotNull public @NotNull Iterable<Path> exportAllPlans()
Description copied from interface:PlanConfigExportService
Export all plans to default location in Bamboo home dir.- Specified by:
exportAllPlans
in interfacePlanConfigExportService
- Returns:
- paths to files updated by export process
-
exportPlan
@NotNull public @NotNull Iterable<Path> exportPlan(@NotNull @NotNull ImmutableTopLevelPlan topLevelPlan)
Description copied from interface:PlanConfigExportService
Export top level plan to default location in Bamboo home dir.- Specified by:
exportPlan
in interfacePlanConfigExportService
- Returns:
- paths to files updated by export process
-
exportPlanToSpecs
public com.atlassian.bamboo.specs.api.builders.plan.Plan exportPlanToSpecs(@NotNull @NotNull ImmutableTopLevelPlan plan)
Description copied from interface:PlanConfigExportService
Export top level plan to Bamboo Specs entity.- Specified by:
exportPlanToSpecs
in interfacePlanConfigExportService
- Returns:
- an entity representing plan.
-
exportBuildConfiguration
protected void exportBuildConfiguration(ImmutablePlan immutablePlan, Consumer<com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<? extends com.atlassian.bamboo.specs.api.model.plan.configuration.PluginConfigurationProperties>> pluginConfigurationConsumer, Consumer<Map<String,Object>> customConfigurationConsumer, List<com.atlassian.bamboo.configuration.external.ExportablePluginModule> exportableModules)
-
-