Class AbstractDockerTask<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties>
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<P>
-
- com.atlassian.bamboo.specs.api.builders.task.Task<T,P>
-
- com.atlassian.bamboo.specs.builders.task.AbstractDockerTask<T,P>
-
- Direct Known Subclasses:
AbstractDockerRegistryTask,DockerBuildImageTask,DockerRunContainerTask
public abstract class AbstractDockerTask<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties> extends Task<T,P>
Generic Docker task.
-
-
Field Summary
Fields Modifier and Type Field Description protected @Nullable StringenvironmentVariablesprotected @Nullable StringworkingSubdirectory-
Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
conditions, description, requirements, taskEnabled
-
-
Constructor Summary
Constructors Constructor Description AbstractDockerTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenvironmentVariables(String environmentVariables)Environment variables which will be passed to Docker process.booleanequals(Object o)inthashCode()TworkingSubdirectory(String workingSubdirectory)An alternative subdirectory as working directory for this task.-
Methods inherited from class com.atlassian.bamboo.specs.api.builders.task.Task
build, conditions, description, enabled, requirements, toString
-
-
-
-
Method Detail
-
environmentVariables
public T environmentVariables(String environmentVariables)
Environment variables which will be passed to Docker process.
-
workingSubdirectory
public T workingSubdirectory(String workingSubdirectory)
An alternative subdirectory as working directory for this task.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTask<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTask<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties>
-
-