Class MapUtils
java.lang.Object
io.openems.edge.core.componentmanager.MapUtils
Provides helper utilities to handle
Map
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
getAsBoolean
(Map<String, Object> map, String key) Get the Map value as Boolean.getAsOptionalBoolean
(Map<String, Object> map, String key) Get the Map value as Optional Boolean.getAsOptionalString
(Map<String, Object> map, String key) Get the Map value as Optional String.static String
getAsString
(Map<String, Object> map, String key) Get the Map value as String.
-
Constructor Details
-
MapUtils
public MapUtils()
-
-
Method Details
-
getAsString
Get the Map value as String. -
getAsOptionalString
Get the Map value as Optional String. -
getAsBoolean
Get the Map value as Boolean. -
getAsOptionalBoolean
Get the Map value as Optional Boolean.
-