Class PermissionExporterImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.exporters.PermissionExporterImpl
-
- All Implemented Interfaces:
PermissionExporter
public class PermissionExporterImpl extends Object implements PermissionExporter
-
-
Constructor Summary
Constructors Constructor Description PermissionExporterImpl()
-
Method Summary
All Methods Instance Methods Concrete 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 public @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull ImmutablePlan plan)
Description copied from interface:PermissionExporter
Exports plan permissions to a YAML-friendly format.- Specified by:
exportPermissions
in interfacePermissionExporter
- Parameters:
plan
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
exportPermissions
@NotNull public @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull DeploymentProject deploymentProject)
Description copied from interface:PermissionExporter
Exports deployment project permissions to a YAML-friendly format.- Specified by:
exportPermissions
in interfacePermissionExporter
- Parameters:
deploymentProject
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
exportPermissions
@NotNull public @NotNull Map<String,Object> exportPermissions(@NotNull @NotNull Environment environment)
Description copied from interface:PermissionExporter
Exports deployment environment permissions to a YAML-friendly format.- Specified by:
exportPermissions
in interfacePermissionExporter
- Parameters:
environment
- which permissions being exported- Returns:
- YAML-friendly plan permissions scheme
-
-