Class PlanConfigExportServiceImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.PlanConfigExportServiceImpl
- All Implemented Interfaces:
PlanConfigExportService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionExport 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) 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.
-
Constructor Details
-
PlanConfigExportServiceImpl
public PlanConfigExportServiceImpl()
-
-
Method Details
-
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)
-