Package jenkins.util

Class ServerTcpPort


  • public class ServerTcpPort
    extends Object
    Used in conjunction with /lib/form/serverTcpPort tag to parse the submitted JSON back into a port number.
    Since:
    1.445
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • ServerTcpPort

        @DataBoundConstructor
        public ServerTcpPort​(int value,
                             String type)
      • ServerTcpPort

        public ServerTcpPort​(net.sf.json.JSONObject o)
    • Method Detail

      • getPort

        public int getPort()
        Parses the value back into the port number