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:
EntityProperties
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
environmentVariables, MODULE_KEY, workingSubdirectory
-
Constructor Summary
ModifierConstructorDescriptionprotected
DockerBuildImageTaskProperties
(@Nullable String description, boolean enabled, @NotNull String imageName, @NotNull DockerBuildImageTaskProperties.DockerfileContent dockerfileContent, @Nullable String dockerfile, boolean useCache, boolean saveAsFile, @Nullable String imageFileName, @Nullable String additionalArguments, @Nullable String environmentVariables, @Nullable String workingSubdirectory, @NotNull List<RequirementProperties> requirements, @NotNull List<? extends ConditionProperties> conditions) -
Method Summary
Methods inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectory
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
Field Details
-
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<RequirementProperties> requirements, @NotNull @NotNull List<? extends ConditionProperties> conditions) throws PropertiesValidationException - Throws:
PropertiesValidationException
-
-
Method Details
-
getImageName
-
getDockerfileContent
-
getDockerfile
-
isUseCache
public boolean isUseCache() -
isSaveAsFile
public boolean isSaveAsFile() -
getImageFilename
-
getAdditionalArguments
-
validate
public void validate()- Specified by:
validate
in interfaceEntityProperties
- Overrides:
validate
in classTaskProperties
-
equals
- Overrides:
equals
in classAbstractDockerTaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractDockerTaskProperties
-