Interface Container

  • All Known Implementing Classes:
    DockerContainer

    public interface Container
    The interface Container.
    • Method Detail

      • getName

        String getName()
        Gets name.
        Returns:
        the name
      • getIpAddress

        String getIpAddress​(Network network)
        Gets ip address.
        Parameters:
        network - the network
        Returns:
        the ip address
      • getId

        String getId()
        Gets id.
        Returns:
        the id
      • exists

        boolean exists()
        Exists boolea..
        Returns:
        the boolean
      • connectToNetwork

        void connectToNetwork​(List<Network> networks)
        Connect to network.
        Parameters:
        networks - the networks
      • destroyContainer

        void destroyContainer()
        Destroy container.