Class DockerContainerControllerImpl
java.lang.Object
com.atlassian.bamboo.v2.build.agent.docker.DockerContainerControllerImpl
- All Implemented Interfaces:
DockerContainerController
,AutoCloseable
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.docker.DockerContainerController
DOCKER_CONTAINER_NAME_VAR
-
Constructor Summary
ModifierConstructorDescriptionprotected
DockerContainerControllerImpl
(@NotNull CommonContext context, @NotNull DockerContainerService dockerContainerService, @NotNull ProcessContextFactory processContextFactory, @NotNull CapabilityContext capabilityContext, @NotNull CustomVariableContext customVariableContext, @NotNull ProcessService processService, @NotNull HomeDirectoryLayout homeDirectoryLayout) -
Method Summary
-
Field Details
-
DOCKER_CAPABILITY
- See Also:
-
CANT_CD_TO_DIRECTORY
public static final int CANT_CD_TO_DIRECTORY- See Also:
-
-
Constructor Details
-
DockerContainerControllerImpl
protected DockerContainerControllerImpl(@NotNull @NotNull CommonContext context, @NotNull @NotNull DockerContainerService dockerContainerService, @NotNull @NotNull ProcessContextFactory processContextFactory, @NotNull @NotNull CapabilityContext capabilityContext, @NotNull @NotNull CustomVariableContext customVariableContext, @NotNull @NotNull ProcessService processService, @NotNull @NotNull HomeDirectoryLayout homeDirectoryLayout)
-
-
Method Details
-
startContainerIfRequired
- Specified by:
startContainerIfRequired
in interfaceDockerContainerController
- Throws:
DockerException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-