Class DockerPipelineExportHelper


  • public class DockerPipelineExportHelper
    extends Object
    Utilities for importing and exporting Docker pipeline configuration.
    • Method Detail

      • fromSpecsEntity

        @NotNull
        public static @NotNull DockerPipelineConfiguration fromSpecsEntity​(@NotNull
                                                                           @NotNull com.atlassian.bamboo.specs.api.model.docker.DockerConfigurationProperties dockerPipelineProperties)
        Convert Specs properties to Docker pipeline configuration used by Bamboo entities.
      • toSpecsEntity

        @NotNull
        public static @NotNull com.atlassian.bamboo.specs.api.builders.docker.DockerConfiguration toSpecsEntity​(@NotNull
                                                                                                                @NotNull DockerPipelineConfiguration dockerPipelineConfiguration)
        Convert Docker pipeline configuration used by Bamboo to Specs entity.
      • validateDockerConfiguration

        public static void validateDockerConfiguration​(@NotNull
                                                       @NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
        Validate docker properties in Plan Specs
      • validateDockerConfiguration

        public static void validateDockerConfiguration​(@NotNull
                                                       @NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties)
        Validate docker properties in Deployment Specs