Class DockerBuildImageTaskProperties

java.lang.Object
com.atlassian.bamboo.specs.api.model.task.TaskProperties
com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
com.atlassian.bamboo.specs.model.task.docker.DockerBuildImageTaskProperties
All Implemented Interfaces:
com.atlassian.bamboo.specs.api.model.EntityProperties

@Immutable public final class DockerBuildImageTaskProperties extends AbstractDockerTaskProperties
  • Field Details

    • VALIDATION_CONTEXT

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

    • DockerBuildImageTaskProperties

      protected DockerBuildImageTaskProperties()
    • DockerBuildImageTaskProperties

      public DockerBuildImageTaskProperties(@Nullable @Nullable String description, boolean enabled, @NotNull @NotNull String imageName, @NotNull @NotNull DockerBuildImageTaskProperties.DockerfileContent dockerfileContent, @Nullable @Nullable String dockerfile, boolean useCache, boolean saveAsFile, @Nullable @Nullable String imageFileName, @Nullable @Nullable String additionalArguments, @Nullable @Nullable String environmentVariables, @Nullable @Nullable String workingSubdirectory, @NotNull @NotNull List<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull @NotNull 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 Details

    • getImageName

      @NotNull public @NotNull String getImageName()
    • getDockerfileContent

      @NotNull public @NotNull DockerBuildImageTaskProperties.DockerfileContent getDockerfileContent()
    • getDockerfile

      @Nullable public @Nullable String getDockerfile()
    • isUseCache

      public boolean isUseCache()
    • isSaveAsFile

      public boolean isSaveAsFile()
    • getImageFilename

      @Nullable public @Nullable String getImageFilename()
    • getAdditionalArguments

      @Nullable public @Nullable 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractDockerTaskProperties
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractDockerTaskProperties