Interface DeploymentExportService

  • All Known Implementing Classes:
    DeploymentExportServiceImpl

    @ExperimentalApi
    public interface DeploymentExportService
    Service to export deployment configurations in human readable format.
    Since:
    5.14
    • Method Detail

      • exportAllDeploymentProjects

        @NotNull
        @NotNull Iterable<Path> exportAllDeploymentProjects()
        Export all deployments to default location in Bamboo home dir.
        Returns:
        paths to files updated by export process
      • exportSingleDeployment

        @NotNull
        @NotNull Path exportSingleDeployment​(@NotNull
                                             @NotNull DeploymentProject deploymentProject)
        Export single deployment project to default location in Bamboo home dir
        Returns:
        path to file updated by export process
      • exportDeploymentToSpecs

        com.atlassian.bamboo.specs.api.builders.deployment.Deployment exportDeploymentToSpecs​(@NotNull
                                                                                              @NotNull DeploymentProject deploymentProject)
        Export single deployment project to spec entity.
        Returns:
        spec entity representing deployment project
        Since:
        6.1
      • exportDeploymentPermissions

        @NotNull
        @NotNull com.atlassian.bamboo.specs.api.builders.permission.DeploymentPermissions exportDeploymentPermissions​(@NotNull
                                                                                                                      @NotNull DeploymentProject deploymentProject)
      • exportEnvironmentPermissions

        @NotNull
        @NotNull com.atlassian.bamboo.specs.api.builders.permission.EnvironmentPermissions exportEnvironmentPermissions​(@NotNull
                                                                                                                        @NotNull DeploymentProject deploymentProject,
                                                                                                                        @NotNull
                                                                                                                        @NotNull Environment environment)