Package org.dashbuilder.dataprovider
Class BeanProviderType
- java.lang.Object
-
- org.dashbuilder.dataprovider.AbstractProviderType<BeanDataSetDef>
-
- org.dashbuilder.dataprovider.BeanProviderType
-
- All Implemented Interfaces:
DataSetProviderType<BeanDataSetDef>
public class BeanProviderType extends AbstractProviderType<BeanDataSetDef>
For accessing data sets generated directly from a bean class implementing the DataSetGenerator interface
-
-
Field Summary
-
Fields inherited from interface org.dashbuilder.dataprovider.DataSetProviderType
BEAN, CSV, ELASTICSEARCH, KAFKA, PROMETHEUS, SQL, STATIC
-
-
Constructor Summary
Constructors Constructor Description BeanProviderType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanDataSetDefcreateDataSetDef()Create a brand newDataSetDefinstance for this given provider type.DataSetDefJSONMarshallerExt<BeanDataSetDef>getJsonMarshaller()A marshaller interface used during the JSON read/write ofDataSetDefinstances.StringgetName()The type's name.-
Methods inherited from class org.dashbuilder.dataprovider.AbstractProviderType
equals
-
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:DataSetProviderTypeThe type's name. It must be unique and do not clash with other existing types.
-
createDataSetDef
public BeanDataSetDef createDataSetDef()
Description copied from interface:DataSetProviderTypeCreate a brand newDataSetDefinstance for this given provider type.
-
getJsonMarshaller
public DataSetDefJSONMarshallerExt<BeanDataSetDef> getJsonMarshaller()
Description copied from interface:DataSetProviderTypeA marshaller interface used during the JSON read/write ofDataSetDefinstances.
-
-