public class PrometheusDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<PrometheusDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static PrometheusDefJSONMarshaller |
INSTANCE |
static String |
PASSWORD |
static String |
QUERY |
static String |
SERVER_URL |
static String |
USER |
| Constructor and Description |
|---|
PrometheusDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(PrometheusDataSetDef def,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
void |
toJson(PrometheusDataSetDef dataSetDef,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
public static final PrometheusDefJSONMarshaller INSTANCE
public static final String SERVER_URL
public static final String QUERY
public static final String USER
public static final String PASSWORD
public void fromJson(PrometheusDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<PrometheusDataSetDef>public void toJson(PrometheusDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<PrometheusDataSetDef>Copyright © 2017–2021 JBoss by Red Hat. All rights reserved.