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

    Modifier and Type
    Method
    Description
    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 Specs
    static void
    validateDockerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties planProperties)
    Validate docker properties in Plan Specs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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