Class GrafanaPanelDatasource
- java.lang.Object
-
- org.opennms.netmgt.jasper.grafana.GrafanaPanelDatasource
-
- All Implemented Interfaces:
net.sf.jasperreports.engine.JRDataSource
,net.sf.jasperreports.engine.JRRewindableDataSource
public class GrafanaPanelDatasource extends Object implements net.sf.jasperreports.engine.JRRewindableDataSource
-
-
Field Summary
Fields Modifier and Type Field Description static String
DATASOURCE_FIELD_NAME
static String
DESCRIPTION_FIELD_NAME
static String
HEIGHT_FIELD_NAME
static String
IMAGE_FIELD_NAME
static String
TITLE_FIELD_NAME
static String
WIDTH_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description GrafanaPanelDatasource(GrafanaClient client, Dashboard dashboard, GrafanaQuery query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getFieldValue(net.sf.jasperreports.engine.JRField jrField)
void
moveFirst()
boolean
next()
-
-
-
Field Detail
-
IMAGE_FIELD_NAME
public static final String IMAGE_FIELD_NAME
- See Also:
- Constant Field Values
-
WIDTH_FIELD_NAME
public static final String WIDTH_FIELD_NAME
- See Also:
- Constant Field Values
-
HEIGHT_FIELD_NAME
public static final String HEIGHT_FIELD_NAME
- See Also:
- Constant Field Values
-
TITLE_FIELD_NAME
public static final String TITLE_FIELD_NAME
- See Also:
- Constant Field Values
-
DATASOURCE_FIELD_NAME
public static final String DATASOURCE_FIELD_NAME
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NAME
public static final String DESCRIPTION_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GrafanaPanelDatasource
public GrafanaPanelDatasource(GrafanaClient client, Dashboard dashboard, GrafanaQuery query)
-
-
Method Detail
-
moveFirst
public void moveFirst()
- Specified by:
moveFirst
in interfacenet.sf.jasperreports.engine.JRRewindableDataSource
-
next
public boolean next()
- Specified by:
next
in interfacenet.sf.jasperreports.engine.JRDataSource
-
getFieldValue
public Object getFieldValue(net.sf.jasperreports.engine.JRField jrField)
- Specified by:
getFieldValue
in interfacenet.sf.jasperreports.engine.JRDataSource
-
-