Class PermissionExporterImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.exporters.PermissionExporterImpl
- All Implemented Interfaces:
PermissionExporter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexportPermissions
(@NotNull Environment environment) Exports deployment environment permissions to a YAML-friendly format.exportPermissions
(@NotNull DeploymentProject deploymentProject) Exports deployment project permissions to a YAML-friendly format.exportPermissions
(@NotNull ImmutablePlan plan) Exports plan permissions to a YAML-friendly format.
-
Constructor Details
-
PermissionExporterImpl
public PermissionExporterImpl()
-
-
Method Details
-
exportPermissions
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
-