Package org.mockserver.model
Class PortBinding
- java.lang.Object
-
- org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
-
- org.mockserver.model.ObjectWithJsonToString
-
- org.mockserver.model.PortBinding
-
public class PortBinding extends ObjectWithJsonToString
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description PortBinding()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>
getPorts()
static PortBinding
portBinding(Integer... ports)
static PortBinding
portBinding(List<Integer> ports)
PortBinding
setPorts(List<Integer> ports)
-
Methods inherited from class org.mockserver.model.ObjectWithJsonToString
toString
-
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
equals, fieldsExcludedFromEqualsAndHashCode, hashCode, key
-
-
-
-
Method Detail
-
portBinding
public static PortBinding portBinding(Integer... ports)
-
portBinding
public static PortBinding portBinding(List<Integer> ports)
-
setPorts
public PortBinding setPorts(List<Integer> ports)
-
-