Class DockerVolumeMappingTable
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.components.docker.DockerVolumeMappingTable
-
public class DockerVolumeMappingTable extends Object
Component for editing volume mapping between Docker host and container.The table is not performing any asynchronous operations. The data is persisted when the entire Docker configuration page is saved. Because of that, a single instance of the table component is safe to be used without risking exceptions like
StaleElementReferenceException
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DockerVolumeMappingTable.AddDockerVolumeMappingRow
The first row in the Docker volume mapping table, which is used to add new mappings.class
DockerVolumeMappingTable.DockerVolumeMappingRow
A row representing a single Docker volume mapping in the table.
-
Constructor Summary
Constructors Constructor Description DockerVolumeMappingTable(com.atlassian.pageobjects.elements.PageElement container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerVolumeMappingTable
addVolumeMapping(String hostDirectory, String containerDirectory)
Add a new volume mapping.DockerVolumeMappingTable
clearVolumeMappings()
Remove all volume mappings from this table.List<DataVolume>
getVolumeMappings()
Get a list of all currently configured volume mappings.
-
-
-
Method Detail
-
clearVolumeMappings
public DockerVolumeMappingTable clearVolumeMappings()
Remove all volume mappings from this table.
-
addVolumeMapping
public DockerVolumeMappingTable addVolumeMapping(String hostDirectory, String containerDirectory)
Add a new volume mapping.- Parameters:
hostDirectory
- path on Docker hostcontainerDirectory
- path in the Docker container
-
getVolumeMappings
public List<DataVolume> getVolumeMappings()
Get a list of all currently configured volume mappings.
-
-