Class Utils
- java.lang.Object
-
- org.opennms.netmgt.telemetry.shell.Utils
-
public class Utils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Utils.DurationTypeAdapter
-
Field Summary
Fields Modifier and Type Field Description static com.google.gson.Gson
GSON
-
Constructor Summary
Constructors Constructor Description Utils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gson.JsonObject
getWritableProperties(Object bean)
Returns the values for all bean properties that are writable.
-
-
-
Method Detail
-
getWritableProperties
public static com.google.gson.JsonObject getWritableProperties(Object bean)
Returns the values for all bean properties that are writable.- Parameters:
bean
- the bean to get the properties for- Returns:
- a map from property name to property value
-
-