Class PortUtils
- java.lang.Object
-
- org.jenkinsci.plugins.dockerbuildstep.util.PortUtils
-
public class PortUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description PortUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPortAvailable(String host, int port)
static Map<String,List<Integer>>
parsePorts(String waitPorts)
static boolean
waitForPort(String host, int port)
-
-
-
Method Detail
-
isPortAvailable
public static boolean isPortAvailable(String host, int port)
-
waitForPort
public static boolean waitForPort(String host, int port)
-
parsePorts
public static Map<String,List<Integer>> parsePorts(String waitPorts) throws IllegalArgumentException, NumberFormatException
-
-