Class PortUtils
- java.lang.Object
-
- com.nirima.jenkins.plugins.docker.utils.PortUtils
-
public class PortUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PortUtils.ConnectionCheck
static class
PortUtils.ConnectionCheckSSH
-
Constructor Summary
Constructors Constructor Description PortUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PortUtils.ConnectionCheck
connectionCheck(String host, int port)
static PortUtils.ConnectionCheck
connectionCheck(InetSocketAddress address)
-
-
-
Method Detail
-
connectionCheck
public static PortUtils.ConnectionCheck connectionCheck(String host, int port)
- Parameters:
host
- hostname to connect toport
- port to open socket- Returns:
- util class to check connection
-
connectionCheck
public static PortUtils.ConnectionCheck connectionCheck(InetSocketAddress address)
-
-