Class 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.

    • Constructor Detail

      • DockerVolumeMappingTable

        public DockerVolumeMappingTable​(com.atlassian.pageobjects.elements.PageElement container)
    • 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 host
        containerDirectory - path in the Docker container
      • getVolumeMappings

        public List<DataVolume> getVolumeMappings()
        Get a list of all currently configured volume mappings.