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 java.lang.Object implements net.sf.jasperreports.engine.JRRewindableDataSource
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DATASOURCE_FIELD_NAME
static java.lang.String
DESCRIPTION_FIELD_NAME
static java.lang.String
HEIGHT_FIELD_NAME
static java.lang.String
IMAGE_FIELD_NAME
static java.lang.String
TITLE_FIELD_NAME
static java.lang.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 java.lang.Object
getFieldValue(net.sf.jasperreports.engine.JRField jrField)
void
moveFirst()
boolean
next()
-
-
-
Field Detail
-
IMAGE_FIELD_NAME
public static final java.lang.String IMAGE_FIELD_NAME
- See Also:
- Constant Field Values
-
WIDTH_FIELD_NAME
public static final java.lang.String WIDTH_FIELD_NAME
- See Also:
- Constant Field Values
-
HEIGHT_FIELD_NAME
public static final java.lang.String HEIGHT_FIELD_NAME
- See Also:
- Constant Field Values
-
TITLE_FIELD_NAME
public static final java.lang.String TITLE_FIELD_NAME
- See Also:
- Constant Field Values
-
DATASOURCE_FIELD_NAME
public static final java.lang.String DATASOURCE_FIELD_NAME
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NAME
public static final java.lang.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 java.lang.Object getFieldValue(net.sf.jasperreports.engine.JRField jrField)
- Specified by:
getFieldValue
in interfacenet.sf.jasperreports.engine.JRDataSource
-
-