Class Port
java.lang.Object
com.microservices.starter.core.environment.Port
- All Implemented Interfaces:
Serializable
The ports exposed and supported by the component.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getDebug()
Whether or not this is a Java debug portgetPort()
The port the container listens onThe port exposed by the service running in the containerint
hashCode()
void
Whether or not this is a Java debug portvoid
The port the container listens onvoid
setTargetPort
(Integer targetPort) The port exposed by the service running in the containertoString()
-
Constructor Details
-
Port
public Port()
-
-
Method Details
-
getPort
The port the container listens on -
getTargetPort
The port exposed by the service running in the container -
getDebug
Whether or not this is a Java debug port -
setPort
The port the container listens on -
setTargetPort
The port exposed by the service running in the container -
setDebug
Whether or not this is a Java debug port -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-