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
@Immutable public final class DockerBuildImageTaskProperties extends AbstractDockerTaskProperties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDockerBuildImageTaskProperties.DockerfileContent
-
Field Summary
Fields Modifier and Type Field Description static ValidationContextVALIDATION_CONTEXT-
Fields inherited from class com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
environmentVariables, MODULE_KEY, workingSubdirectory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDockerBuildImageTaskProperties()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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable StringgetAdditionalArguments()@Nullable StringgetDockerfile()@NotNull DockerBuildImageTaskProperties.DockerfileContentgetDockerfileContent()@Nullable StringgetImageFilename()@NotNull StringgetImageName()inthashCode()booleanisSaveAsFile()booleanisUseCache()voidvalidate()-
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 Detail
-
VALIDATION_CONTEXT
public static final ValidationContext VALIDATION_CONTEXT
-
-
Constructor Detail
-
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 Detail
-
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:
validatein interfaceEntityProperties- Overrides:
validatein classTaskProperties
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractDockerTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDockerTaskProperties
-
-