public class RemoteMeasurementDataSourceWrapper extends Object implements MeasurementDataSourceWrapper
JRRewindableDataSource.| Constructor and Description |
|---|
RemoteMeasurementDataSourceWrapper(boolean useSsl,
String url,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
net.sf.jasperreports.engine.JRRewindableDataSource |
createDataSource(String query)
Creates a
JRRewindableDataSource according to the provided query. |
public net.sf.jasperreports.engine.JRRewindableDataSource createDataSource(String query) throws net.sf.jasperreports.engine.JRException
MeasurementDataSourceWrapperJRRewindableDataSource according to the provided query.createDataSource in interface MeasurementDataSourceWrapperquery - The query to execute. Should be a OpenNMS Measurement API parsable QueryRequest. It may be null, but not empty.net.sf.jasperreports.engine.JRException - In any error situation. RuntimeException are not catched and may be thrown in addition.public void close()
close in interface MeasurementDataSourceWrapperCopyright © 2022. All rights reserved.