public class KafkaDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<KafkaDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_ID |
static String |
FILTER |
static String |
HOST |
static KafkaDefJSONMarshaller |
INSTANCE |
static String |
NODE_ID |
static String |
PARTITION |
static String |
PORT |
static String |
TARGET |
static String |
TOPIC |
| Constructor and Description |
|---|
KafkaDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(KafkaDataSetDef def,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
void |
toJson(KafkaDataSetDef def,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
public static final KafkaDefJSONMarshaller INSTANCE
public static final String HOST
public static final String PORT
public static final String TARGET
public static final String FILTER
public static final String CLIENT_ID
public static final String NODE_ID
public static final String TOPIC
public static final String PARTITION
public void fromJson(KafkaDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<KafkaDataSetDef>public void toJson(KafkaDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<KafkaDataSetDef>Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.