Package com.atlassian.bamboo.docker
Class DataVolume
- java.lang.Object
-
- com.atlassian.bamboo.docker.DataVolume
-
@Immutable public class DataVolume extends Object
Represents a Docker container data volume.
-
-
Constructor Summary
Constructors Constructor Description DataVolume(@Nullable String hostDirectory, @NotNull String containerDataVolume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull StringgetContainerDirectory()@Nullable StringgetHostDirectory()inthashCode()StringtoString()
-
-
-
Method Detail
-
getContainerDirectory
@NotNull public @NotNull String getContainerDirectory()
- Returns:
- the path to the data volume inside the container.
-
getHostDirectory
@Nullable public @Nullable String getHostDirectory()
- Returns:
- the path to the mapped host directory. May be null if the container data volume is not mapped to a host directory.
-
-