Class DockerNetworkInstance

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class DockerNetworkInstance
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Docker network.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      DockerNetworkInstance​(java.lang.String networkName, java.lang.String networkId, com.github.dockerjava.api.DockerClient docker)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DockerNetworkInstance

        public DockerNetworkInstance​(java.lang.String networkName,
                                     java.lang.String networkId,
                                     com.github.dockerjava.api.DockerClient docker)
        Instantiate.
        Parameters:
        networkName - Name of the network.
        networkId - Identifier of the network.
        docker - DockerClient.
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable