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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.atlassian.bamboo.specs.api.validators.common.ValidationContextFields inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
environmentVariables, MODULE_KEY, workingSubdirectory -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDockerBuildImageTaskProperties(@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<com.atlassian.bamboo.specs.api.model.plan.requirement.RequirementProperties> requirements, @NotNull List<? extends com.atlassian.bamboo.specs.api.model.plan.condition.ConditionProperties> conditions) -
Method Summary
Methods inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectoryMethods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
-
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
-
getDockerfileContent
-
getDockerfile
-
isUseCache
public boolean isUseCache() -
isSaveAsFile
public boolean isSaveAsFile() -
getImageFilename
-
getAdditionalArguments
-
validate
public void validate()- Specified by:
validatein interfacecom.atlassian.bamboo.specs.api.model.EntityProperties- Overrides:
validatein classcom.atlassian.bamboo.specs.api.model.task.TaskProperties
-
equals
- Overrides:
equalsin classAbstractDockerTaskProperties
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractDockerTaskProperties
-