Container.PortBinding| Constructor and Description |
|---|
ContainersListElement(com.google.gson.JsonObject json) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCreated() |
Map<String,String> |
getCustomNetworkIpAddresses()
Return IP Addresses of custom networks, mapped to the network name as the key.
|
Integer |
getExitCode()
Exit code of the container if it already has excited
|
String |
getId() |
String |
getImage() |
String |
getIPAddress()
IP Adress of the container if provided
|
Map<String,String> |
getLabels() |
String |
getName() |
String |
getNetworkMode() |
Map<String,Container.PortBinding> |
getPortBindings() |
boolean |
isRunning() |
public static final String ID
public static final String IMAGE
public ContainersListElement(com.google.gson.JsonObject json)
public long getCreated()
getCreated in interface Containerpublic String getNetworkMode()
getNetworkMode in interface Containerpublic Map<String,Container.PortBinding> getPortBindings()
getPortBindings in interface Containerpublic String getIPAddress()
ContainergetIPAddress in interface Containernull if not provided.public Map<String,String> getCustomNetworkIpAddresses()
ContainergetCustomNetworkIpAddresses in interface Containerpublic Integer getExitCode()
ContainergetExitCode in interface Containernull if it is still running. Also null,
if the implementation doesn't support an exit code.Copyright © 2019. All rights reserved.