Class InstanceInfo.PortWrapper

  • Enclosing class:
    InstanceInfo

    public static class InstanceInfo.PortWrapper
    extends java.lang.Object
    InstanceInfo JSON and XML format for port information does not follow the usual conventions, which makes its mapping complicated. This class represents the wire format for port information.
    • Constructor Summary

      Constructors 
      Constructor Description
      PortWrapper​(boolean enabled, int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getPort()  
      boolean isEnabled()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortWrapper

        public PortWrapper​(boolean enabled,
                           int port)
    • Method Detail

      • isEnabled

        public boolean isEnabled()
      • getPort

        public int getPort()