@Immutable public final class DockerBuildImageTaskProperties extends AbstractDockerTaskProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerBuildImageTaskProperties.DockerfileContent |
| Modifier and Type | Field and Description |
|---|---|
static ValidationContext |
VALIDATION_CONTEXT |
environmentVariables, MODULE_KEY, workingSubdirectory| Modifier | Constructor and Description |
|---|---|
protected |
DockerBuildImageTaskProperties() |
|
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) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Nullable String |
getAdditionalArguments() |
@Nullable String |
getDockerfile() |
@NotNull DockerBuildImageTaskProperties.DockerfileContent |
getDockerfileContent() |
@Nullable String |
getImageFilename() |
@NotNull String |
getImageName() |
int |
hashCode() |
boolean |
isSaveAsFile() |
boolean |
isUseCache() |
void |
validate() |
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectoryapplicableTo, getConditions, getDescription, getRequirements, isEnabled, toStringpublic static final ValidationContext VALIDATION_CONTEXT
protected 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
PropertiesValidationException@NotNull public @NotNull String getImageName()
@NotNull public @NotNull DockerBuildImageTaskProperties.DockerfileContent getDockerfileContent()
@Nullable public @Nullable String getDockerfile()
public boolean isUseCache()
public boolean isSaveAsFile()
@Nullable public @Nullable String getImageFilename()
@Nullable public @Nullable String getAdditionalArguments()
public void validate()
validate in interface EntityPropertiesvalidate in class TaskPropertiespublic boolean equals(Object o)
equals in class AbstractDockerTaskPropertiespublic int hashCode()
hashCode in class AbstractDockerTaskPropertiesCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.