Package jenkins.util
Class ServerTcpPort
java.lang.Object
jenkins.util.ServerTcpPort
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 Summary
ConstructorDescriptionServerTcpPort
(int value, String type) ServerTcpPort
(net.sf.json.JSONObject o) -
Method Summary
-
Constructor Details
-
ServerTcpPort
-
ServerTcpPort
public ServerTcpPort(net.sf.json.JSONObject o)
-
-
Method Details
-
getPort
public int getPort()Parses the value back into the port number
-