Class ReduceFunctionJsonConverter
- java.lang.Object
-
- org.opennms.netmgt.graph.provider.bsm.converter.ReduceFunctionJsonConverter
-
- All Implemented Interfaces:
Converter<ReductionFunction,org.json.JSONObject>
,PropertyConverter<ReductionFunction,org.json.JSONObject>
public class ReduceFunctionJsonConverter extends Object implements PropertyConverter<ReductionFunction,org.json.JSONObject>
-
-
Constructor Summary
Constructors Constructor Description ReduceFunctionJsonConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(Class<ReductionFunction> type)
org.json.JSONObject
convert(ReductionFunction input)
-
-
-
Method Detail
-
canConvert
public boolean canConvert(Class<ReductionFunction> type)
- Specified by:
canConvert
in interfaceConverter<ReductionFunction,org.json.JSONObject>
-
convert
public org.json.JSONObject convert(ReductionFunction input)
- Specified by:
convert
in interfaceConverter<ReductionFunction,org.json.JSONObject>
-
-