Class DockerVolumeMappingTable
java.lang.Object
com.atlassian.bamboo.pageobjects.components.docker.DockerVolumeMappingTable
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
Modifier and TypeClassDescriptionclass
The first row in the Docker volume mapping table, which is used to add new mappings.class
A row representing a single Docker volume mapping in the table. -
Constructor Summary
ConstructorDescriptionDockerVolumeMappingTable
(com.atlassian.pageobjects.elements.PageElement container) -
Method Summary
Modifier and TypeMethodDescriptionaddVolumeMapping
(String hostDirectory, String containerDirectory) Add a new volume mapping.Remove all volume mappings from this table.Get a list of all currently configured volume mappings.
-
Constructor Details
-
DockerVolumeMappingTable
public DockerVolumeMappingTable(com.atlassian.pageobjects.elements.PageElement container)
-
-
Method Details
-
clearVolumeMappings
Remove all volume mappings from this table. -
addVolumeMapping
Add a new volume mapping.- Parameters:
hostDirectory
- path on Docker hostcontainerDirectory
- path in the Docker container
-
getVolumeMappings
Get a list of all currently configured volume mappings.
-