Package org.dashbuilder.dataset.json
Class KafkaDefJSONMarshaller
- java.lang.Object
-
- org.dashbuilder.dataset.json.KafkaDefJSONMarshaller
-
- All Implemented Interfaces:
DataSetDefJSONMarshallerExt<KafkaDataSetDef>
public class KafkaDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<KafkaDataSetDef>
-
-
Constructor Summary
Constructors Constructor Description KafkaDefJSONMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromJson(KafkaDataSetDef def, org.dashbuilder.json.JsonObject json)Updates the given data set def instance with the status stored into the json object passed as a parameter.voidtoJson(KafkaDataSetDef def, org.dashbuilder.json.JsonObject json)Writes into the given json object the status of the data set def instance.
-
-
-
Field Detail
-
INSTANCE
public static final KafkaDefJSONMarshaller INSTANCE
-
HOST
public static final String HOST
- See Also:
- Constant Field Values
-
PORT
public static final String PORT
- See Also:
- Constant Field Values
-
TARGET
public static final String TARGET
- See Also:
- Constant Field Values
-
FILTER
public static final String FILTER
- See Also:
- Constant Field Values
-
CLIENT_ID
public static final String CLIENT_ID
- See Also:
- Constant Field Values
-
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
-
TOPIC
public static final String TOPIC
- See Also:
- Constant Field Values
-
PARTITION
public static final String PARTITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromJson
public void fromJson(KafkaDataSetDef def, org.dashbuilder.json.JsonObject json)
Description copied from interface:DataSetDefJSONMarshallerExtUpdates the given data set def instance with the status stored into the json object passed as a parameter.- Specified by:
fromJsonin interfaceDataSetDefJSONMarshallerExt<KafkaDataSetDef>
-
toJson
public void toJson(KafkaDataSetDef def, org.dashbuilder.json.JsonObject json)
Description copied from interface:DataSetDefJSONMarshallerExtWrites into the given json object the status of the data set def instance.- Specified by:
toJsonin interfaceDataSetDefJSONMarshallerExt<KafkaDataSetDef>
-
-