Class PlanConfigExportServiceImpl

java.lang.Object
com.atlassian.bamboo.configuration.external.PlanConfigExportServiceImpl
All Implemented Interfaces:
PlanConfigExportService

public class PlanConfigExportServiceImpl extends Object implements PlanConfigExportService
  • Constructor Details

    • PlanConfigExportServiceImpl

      public PlanConfigExportServiceImpl()
  • Method Details

    • 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 interface PlanConfigExportService
      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 interface PlanConfigExportService
      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 interface PlanConfigExportService
      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)