Class NetworkPortsSerializer
- java.lang.Object
-
- com.yahoo.config.provision.serialization.NetworkPortsSerializer
-
public class NetworkPortsSerializer extends java.lang.Object
Serializes network port allocations to/from JSON.- Author:
- arnej
-
-
Constructor Summary
Constructors Constructor Description NetworkPortsSerializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<NetworkPorts>
fromSlime(com.yahoo.slime.Inspector array)
static void
toSlime(NetworkPorts networkPorts, com.yahoo.slime.Cursor array)
-
-
-
Method Detail
-
toSlime
public static void toSlime(NetworkPorts networkPorts, com.yahoo.slime.Cursor array)
-
fromSlime
public static java.util.Optional<NetworkPorts> fromSlime(com.yahoo.slime.Inspector array)
-
-