Interface Container
-
- All Known Implementing Classes:
DockerContainer
public interface Container
The interface Container.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
connectToNetwork(List<Network> networks)
Connect to network.void
destroyContainer()
Destroy container.boolean
exists()
Exists boolea..String
getId()
Gets id.String
getIpAddress(Network network)
Gets ip address.String
getName()
Gets name.
-
-
-
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.
-
-