Interface PermissionExporter
-
- All Known Implementing Classes:
PermissionExporterImpl
public interface PermissionExporter
Service to export Bamboo plan permissions to YAML config files.- Since:
- 5.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Map<String,Object>
exportPermissions(@NotNull Environment environment)
Exports deployment environment permissions to a YAML-friendly format.@NotNull Map<String,Object>
exportPermissions(@NotNull DeploymentProject deploymentProject)
Exports deployment project permissions to a YAML-friendly format.@NotNull Map<String,Object>
exportPermissions(@NotNull ImmutablePlan plan)
Exports plan permissions to a YAML-friendly format.
-
-
-
Method Detail
-
exportPermissions
@NotNull @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull ImmutablePlan plan)
Exports plan permissions to a YAML-friendly format.- Parameters:
plan
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
exportPermissions
@NotNull @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull DeploymentProject deploymentProject)
Exports deployment project permissions to a YAML-friendly format.- Parameters:
deploymentProject
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
exportPermissions
@NotNull @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull Environment environment)
Exports deployment environment permissions to a YAML-friendly format.- Parameters:
environment
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
-