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 com.atlassian.bamboo.specs.api.builders.task.Task<T,P>
Generic Docker task.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected @Nullable String
     
    protected @Nullable String
     

    Fields inherited from class com.atlassian.bamboo.specs.api.builders.task.Task

    conditions, description, requirements, taskEnabled
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    environmentVariables(String environmentVariables)
    Environment variables which will be passed to Docker process.
    boolean
     
    int
     
    workingSubdirectory(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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • environmentVariables

      @Nullable protected @Nullable String environmentVariables
    • workingSubdirectory

      @Nullable protected @Nullable String workingSubdirectory
  • Constructor Details

    • AbstractDockerTask

      public AbstractDockerTask()
  • Method Details

    • 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:
      equals in class com.atlassian.bamboo.specs.api.builders.task.Task<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.atlassian.bamboo.specs.api.builders.task.Task<T extends AbstractDockerTask<T,P>,P extends AbstractDockerTaskProperties>