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 voidexportBuildConfiguration(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.PlanexportPlanToSpecs(@NotNull ImmutableTopLevelPlan plan)Export top level plan to Bamboo Specs entity.
-
-
-
Method Detail
-
exportAllPlans
@NotNull public @NotNull Iterable<Path> exportAllPlans()
Description copied from interface:PlanConfigExportServiceExport all plans to default location in Bamboo home dir.- Specified by:
exportAllPlansin interfacePlanConfigExportService- Returns:
- paths to files updated by export process
-
exportPlan
@NotNull public @NotNull Iterable<Path> exportPlan(@NotNull @NotNull ImmutableTopLevelPlan topLevelPlan)
Description copied from interface:PlanConfigExportServiceExport top level plan to default location in Bamboo home dir.- Specified by:
exportPlanin 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:PlanConfigExportServiceExport top level plan to Bamboo Specs entity.- Specified by:
exportPlanToSpecsin 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)
-
-