@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(String description,
boolean enabled,
String imageName,
DockerBuildImageTaskProperties.DockerfileContent dockerfileContent,
String dockerfile,
boolean useCache,
boolean saveAsFile,
String imageFileName,
String additionalArguments,
String environmentVariables,
String workingSubdirectory,
List<RequirementProperties> requirements,
List<? extends ConditionProperties> conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAdditionalArguments() |
String |
getDockerfile() |
DockerBuildImageTaskProperties.DockerfileContent |
getDockerfileContent() |
String |
getImageFilename() |
String |
getImageName() |
int |
hashCode() |
boolean |
isSaveAsFile() |
boolean |
isUseCache() |
void |
validate() |
getAtlassianPlugin, getEnvironmentVariables, getWorkingSubdirectory
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString
public static final ValidationContext VALIDATION_CONTEXT
protected DockerBuildImageTaskProperties()
public 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) throws PropertiesValidationException
PropertiesValidationException
@NotNull public String getImageName()
@NotNull public DockerBuildImageTaskProperties.DockerfileContent getDockerfileContent()
@Nullable public String getDockerfile()
public boolean isUseCache()
public boolean isSaveAsFile()
@Nullable public String getImageFilename()
@Nullable public String getAdditionalArguments()
public void validate()
validate
in interface EntityProperties
validate
in class TaskProperties
public boolean equals(Object o)
equals
in class AbstractDockerTaskProperties
public int hashCode()
hashCode
in class AbstractDockerTaskProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.