Class DockerBuildImageTaskProperties

  • All Implemented Interfaces:
    com.atlassian.bamboo.specs.api.model.EntityProperties

    @Immutable
    public final class DockerBuildImageTaskProperties
    extends AbstractDockerTaskProperties
    • Field Detail

      • VALIDATION_CONTEXT

        public static final com.atlassian.bamboo.specs.api.validators.common.ValidationContext VALIDATION_CONTEXT
    • Constructor Detail

      • DockerBuildImageTaskProperties

        protected DockerBuildImageTaskProperties()
      • DockerBuildImageTaskProperties

        public DockerBuildImageTaskProperties​(@Nullable
                                              @Nullable java.lang.String description,
                                              boolean enabled,
                                              @NotNull
                                              @NotNull java.lang.String imageName,
                                              @NotNull
                                              @NotNull DockerBuildImageTaskProperties.DockerfileContent dockerfileContent,
                                              @Nullable
                                              @Nullable java.lang.String dockerfile,
                                              boolean useCache,
                                              boolean saveAsFile,
                                              @Nullable
                                              @Nullable java.lang.String imageFileName,
                                              @Nullable
                                              @Nullable java.lang.String additionalArguments,
                                              @Nullable
                                              @Nullable java.lang.String environmentVariables,
                                              @Nullable
                                              @Nullable java.lang.String workingSubdirectory,
                                              @NotNull
                                              @NotNull java.util.List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements,
                                              @NotNull
                                              @NotNull java.util.List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions)
                                       throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
        Throws:
        com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
    • Method Detail

      • getImageName

        @NotNull
        public @NotNull java.lang.String getImageName()
      • getDockerfile

        @Nullable
        public @Nullable java.lang.String getDockerfile()
      • isUseCache

        public boolean isUseCache()
      • isSaveAsFile

        public boolean isSaveAsFile()
      • getImageFilename

        @Nullable
        public @Nullable java.lang.String getImageFilename()
      • getAdditionalArguments

        @Nullable
        public @Nullable java.lang.String getAdditionalArguments()
      • validate

        public void validate()
        Specified by:
        validate in interface com.atlassian.bamboo.specs.api.model.EntityProperties
        Overrides:
        validate in class com.atlassian.bamboo.specs.api.model.task.TaskProperties