@ProviderType
public class ContainerInstanceDescriptor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerInstanceDescriptor.ContainerInstanceDescriptorBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ContainerInstanceDescriptor.ContainerInstanceDescriptorBuilder |
builder()
Creates a builder for creating a new
ContainerInstanceDescriptor
instance. |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContainerId()
Returns the containerID
|
java.lang.String |
getContainerImage()
Returns the base image for the associated container
|
java.lang.String |
getContainerImageTag()
Returns the image tag for the associated container
|
java.lang.String |
getContainerName()
Returns the container name
|
java.util.List<ContainerPort> |
getContainerPorts()
Returns a list of
ContainerPort mapped to the container. |
java.util.List<java.lang.Integer> |
getContainerPortsExternal()
Deprecated.
please use
getContainerPorts as it includes the network
protocol with the port mapping. |
java.util.List<java.lang.Integer> |
getContainerPortsInternal()
Deprecated.
please use
getContainerPorts as it includes the network
protocol with the port mapping. |
ContainerState |
getContainerState()
Returns the container status as
ContainerState |
int |
hashCode() |
boolean |
isFrameworkManaged()
The method will provide information if the container is or not managed by the
framework
|
public ContainerState getContainerState()
ContainerStatepublic boolean isFrameworkManaged()
true if the framework manages the container.
false otherwisepublic java.lang.String getContainerName()
public java.lang.String getContainerImage()
public java.lang.String getContainerImageTag()
public java.lang.String getContainerId()
public java.util.List<ContainerPort> getContainerPorts()
ContainerPort mapped to the container.@Deprecated public java.util.List<java.lang.Integer> getContainerPortsExternal()
getContainerPorts as it includes the network
protocol with the port mapping.@Deprecated public java.util.List<java.lang.Integer> getContainerPortsInternal()
getContainerPorts as it includes the network
protocol with the port mapping.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static ContainerInstanceDescriptor.ContainerInstanceDescriptorBuilder builder()
ContainerInstanceDescriptor
instance.