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 booleanbooleangetDebug()Whether or not this is a Java debug portgetPort()The port the container listens onThe port exposed by the service running in the containerinthashCode()voidWhether or not this is a Java debug portvoidThe port the container listens onvoidsetTargetPort(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
-