Class DockerPipelineValidationServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.build.docker.DockerPipelineValidationServiceImpl
-
- All Implemented Interfaces:
DockerPipelineValidationService
public class DockerPipelineValidationServiceImpl extends Object implements DockerPipelineValidationService
-
-
Field Summary
Fields Modifier and Type Field Description static String
CFG_CONTAINER_DIR_PREFIX
static String
CFG_DOCKER_IMAGE
static String
CFG_HOST_DIR_PREFIX
static String
IMAGE_MISSING_ERROR_KEY
-
Constructor Summary
Constructors Constructor Description DockerPipelineValidationServiceImpl(com.opensymphony.xwork2.TextProvider textProvider, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ErrorCollection
validateDockerPipelineConfiguration(@NotNull DockerPipelineConfiguration dockerPipelineConfiguration)
Checks if Docker configuration is valid.
-
-
-
Field Detail
-
CFG_DOCKER_IMAGE
public static final String CFG_DOCKER_IMAGE
- See Also:
- Constant Field Values
-
CFG_HOST_DIR_PREFIX
public static final String CFG_HOST_DIR_PREFIX
-
CFG_CONTAINER_DIR_PREFIX
public static final String CFG_CONTAINER_DIR_PREFIX
-
IMAGE_MISSING_ERROR_KEY
public static final String IMAGE_MISSING_ERROR_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DockerPipelineValidationServiceImpl
@Inject public DockerPipelineValidationServiceImpl(com.opensymphony.xwork2.TextProvider textProvider, FeatureManager featureManager)
-
-
Method Detail
-
validateDockerPipelineConfiguration
@NotNull public @NotNull ErrorCollection validateDockerPipelineConfiguration(@NotNull @NotNull DockerPipelineConfiguration dockerPipelineConfiguration)
Description copied from interface:DockerPipelineValidationService
Checks if Docker configuration is valid.- Specified by:
validateDockerPipelineConfiguration
in interfaceDockerPipelineValidationService
- Returns:
- a list of errors.
-
-