Class BambooPlanConfigExportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooPlanConfigExportResource
-
@Singleton public class BambooPlanConfigExportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooPlanConfigExportResource(PlanConfigExportService planConfigExportService, CachedPlanManager cachedPlanManager, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
exportAllPlans()
Export configuration of all top level plans, linked repositories and shared credentials to YAML format.javax.ws.rs.core.Response
exportPlan(String projectKey, String planKey, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a top level plan to YAML formatjavax.ws.rs.core.Response
exportPlanAlias(String projectKey, String planKey, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a top level plan to YAML format
-
-
-
Constructor Detail
-
BambooPlanConfigExportResource
public BambooPlanConfigExportResource(PlanConfigExportService planConfigExportService, CachedPlanManager cachedPlanManager, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
-
Method Detail
-
exportAllPlans
public javax.ws.rs.core.Response exportAllPlans()
Export configuration of all top level plans, linked repositories and shared credentials to YAML format.- Returns:
- json array of paths to all updated files
-
exportPlan
public javax.ws.rs.core.Response exportPlan(String projectKey, String planKey, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a top level plan to YAML format- Parameters:
projectKey
- project keyplanKey
-- Returns:
- json array of paths to all updated files
-
exportPlanAlias
public javax.ws.rs.core.Response exportPlanAlias(String projectKey, String planKey, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a top level plan to YAML format- Parameters:
projectKey
- project keyplanKey
-- Returns:
- json array of paths to all updated files
-
-