Package com.atlassian.bamboo.docker
Class PortMapping
java.lang.Object
com.atlassian.bamboo.docker.PortMapping
Represents a port exposed by a Docker container.
-
Constructor Details
-
PortMapping
-
-
Method Details
-
getContainerPort
public int getContainerPort()- Returns:
- the exposed container port.
-
getHostPort
- Returns:
- the mapped host port. May be null if the host port is to be dynamically bound to the exposed container port.
-
hashCode
public int hashCode() -
equals
-