Class GatewayDataSourceRegistry
java.lang.Object
com.inductiveautomation.reporting.gateway.api.GatewayDataSourceRegistry
This registry holds the types of report data sources usable in the gateway for generating reports. To add your own
 type of report data source, implement 
ReportDataSource and then in a Gateway hook class, register it like
 so:
 
     GatewayDataSourceRegistry.get(context).register(myDataSource);
 
 Created by carl.gould on 1/13/2015.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfindDataSource(String id) Look up the data source represented by the given id.Look up the query source represented by the given id.static GatewayDataSourceRegistryget(GatewayContext context) voidregister(QuerySource querySource) Adds the given query source to the list of registered query sourcesvoidregister(ReportDataSource dataSource) Adds the given data source to the list of registered data typesRemoves the data source represented by the given idRemoves the query source represented by the given id
- 
Constructor Details- 
GatewayDataSourceRegistrypublic GatewayDataSourceRegistry()
 
- 
- 
Method Details- 
get
- 
registerAdds the given data source to the list of registered data types
- 
unregisterDataSourceRemoves the data source represented by the given id
- 
findDataSourceLook up the data source represented by the given id.
- 
registerAdds the given query source to the list of registered query sources
- 
unregisterQuerySourceRemoves the query source represented by the given id
- 
findQuerySourceLook up the query source represented by the given id.
 
-