Class DockerPipelineExportHelper
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.helpers.DockerPipelineExportHelper
-
public class DockerPipelineExportHelper extends Object
Utilities for importing and exporting Docker pipeline configuration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull DockerPipelineConfiguration
fromSpecsEntity(@NotNull com.atlassian.bamboo.specs.api.model.docker.DockerConfigurationProperties dockerPipelineProperties)
Convert Specs properties to Docker pipeline configuration used by Bamboo entities.static @NotNull com.atlassian.bamboo.specs.api.builders.docker.DockerConfiguration
toSpecsEntity(@NotNull DockerPipelineConfiguration dockerPipelineConfiguration)
Convert Docker pipeline configuration used by Bamboo to Specs entity.static void
validateDockerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties)
Validate docker properties in Deployment Specsstatic void
validateDockerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
Validate docker properties in Plan Specs
-
-
-
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
-
-