Class AbstractDockerTaskProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.task.TaskProperties
-
- com.atlassian.bamboo.specs.model.task.docker.AbstractDockerTaskProperties
-
- All Implemented Interfaces:
EntityProperties
- Direct Known Subclasses:
DockerBuildImageTaskProperties,DockerRegistryTaskProperties,DockerRunContainerTaskProperties
public abstract class AbstractDockerTaskProperties extends TaskProperties
-
-
Field Summary
Fields Modifier and Type Field Description protected @Nullable StringenvironmentVariablesstatic AtlassianModulePropertiesMODULE_KEYprotected @Nullable StringworkingSubdirectory
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDockerTaskProperties()AbstractDockerTaskProperties(@Nullable String description, boolean enabled, @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)@NotNull AtlassianModulePropertiesgetAtlassianPlugin()@Nullable StringgetEnvironmentVariables()@Nullable StringgetWorkingSubdirectory()inthashCode()-
Methods inherited from class com.atlassian.bamboo.specs.api.model.task.TaskProperties
applicableTo, getConditions, getDescription, getRequirements, isEnabled, toString, validate
-
-
-
-
Field Detail
-
MODULE_KEY
public static final AtlassianModuleProperties MODULE_KEY
-
environmentVariables
@Nullable protected @Nullable String environmentVariables
-
workingSubdirectory
@Nullable protected @Nullable String workingSubdirectory
-
-
Constructor Detail
-
AbstractDockerTaskProperties
protected AbstractDockerTaskProperties()
-
AbstractDockerTaskProperties
public AbstractDockerTaskProperties(@Nullable @Nullable String description, boolean enabled, @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
-
getEnvironmentVariables
@Nullable public @Nullable String getEnvironmentVariables()
-
getWorkingSubdirectory
@Nullable public @Nullable String getWorkingSubdirectory()
-
getAtlassianPlugin
@NotNull public @NotNull AtlassianModuleProperties getAtlassianPlugin()
- Specified by:
getAtlassianPluginin classTaskProperties
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTaskProperties
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTaskProperties
-
-