java.lang.Object
com.microservices.starter.core.environment.Port
All Implemented Interfaces:
Serializable

public class Port extends Object implements Serializable
The ports exposed and supported by the component.
See Also:
  • Constructor Details

    • Port

      public Port()
  • Method Details

    • getPort

      public Integer getPort()
      The port the container listens on
    • getTargetPort

      public Integer getTargetPort()
      The port exposed by the service running in the container
    • getDebug

      public Boolean getDebug()
      Whether or not this is a Java debug port
    • setPort

      public void setPort(Integer port)
      The port the container listens on
    • setTargetPort

      public void setTargetPort(Integer targetPort)
      The port exposed by the service running in the container
    • setDebug

      public void setDebug(Boolean debug)
      Whether or not this is a Java debug port
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object