Package org.dashbuilder.dataset.json
Interface DataSetDefJSONMarshallerExt<T extends DataSetDef>
-
- All Known Implementing Classes:
BeanDefJSONMarshaller,CSVDefJSONMarshaller,ELSDefJSONMarshaller,KafkaDefJSONMarshaller,PrometheusDefJSONMarshaller,SQLDefJSONMarshaller
public interface DataSetDefJSONMarshallerExt<T extends DataSetDef>DataSetDefJSONMarshalleruses this interface to marshall the extended attributes of any class extendingDataSetDef. EveryDataSetProviderTypecan provide a concrete implementation of this interface (seeDataSetProviderType.getJsonMarshaller()).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfromJson(T dataSetDef, org.dashbuilder.json.JsonObject jsonObject)Updates the given data set def instance with the status stored into the json object passed as a parameter.voidtoJson(T dataSetDef, org.dashbuilder.json.JsonObject jsonObject)Writes into the given json object the status of the data set def instance.
-
-
-
Method Detail
-
fromJson
void fromJson(T dataSetDef, org.dashbuilder.json.JsonObject jsonObject)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
-
toJson
void toJson(T dataSetDef, org.dashbuilder.json.JsonObject jsonObject)
Writes into the given json object the status of the data set def instance.
-
-