Class BaseDashboardComponentDefinitionModel
java.lang.Object
com.flowable.platform.engine.impl.repository.dashboard.BaseDashboardComponentDefinitionModel
- All Implemented Interfaces:
DashboardComponentDefinitionModel
public class BaseDashboardComponentDefinitionModel
extends Object
implements DashboardComponentDefinitionModel
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowable.platform.api.repository.DashboardComponentDefinitionModel
DashboardComponentDefinitionModel.DashboardComponentAggregationDefinition, DashboardComponentDefinitionModel.DashboardComponentInfo, DashboardComponentDefinitionModel.DashboardComponentInputParameter, DashboardComponentDefinitionModel.DashboardComponentOption, DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo, DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNodeA configuration that is component dependentReturns the optional description of this dashboard component definition, describing where and how it might be used.Returns the list of input parameters that this component can use.getKey()Returns the business key usually used to reference or lookup a dashboard component definition regardless of its version.getName()Returns the name of this dashboard component definition.Returns the list of potential options for this component.Returns the key of the query model that is used to fetch the data needed to display this component.Returns the mapping configuration to map from the result of executing the query model to the data format.com.fasterxml.jackson.databind.JsonNodeReturns the static data, if any is set.Specifies the component further and together with the type should fully classify the component.getType()Returns the high-level type of this dashboard component, for example 'line chart'.voidsetConfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration) voidsetDescription(String description) voidsetInputParameters(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) voidvoidvoidvoidvoidsetQueryResultMapping(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) voidsetStaticData(com.fasterxml.jackson.databind.JsonNode staticData) voidsetSubType(String subType) void
-
Field Details
-
key
-
name
-
description
-
type
-
subType
-
queryModel
-
staticData
protected com.fasterxml.jackson.databind.JsonNode staticData -
inputParameters
-
options
-
configuration
protected com.fasterxml.jackson.databind.node.ObjectNode configuration -
queryResultMapping
-
-
Constructor Details
-
BaseDashboardComponentDefinitionModel
public BaseDashboardComponentDefinitionModel()
-
-
Method Details
-
getKey
Description copied from interface:DashboardComponentDefinitionModelReturns the business key usually used to reference or lookup a dashboard component definition regardless of its version.- Specified by:
getKeyin interfaceDashboardComponentDefinitionModel
-
setKey
-
getName
Description copied from interface:DashboardComponentDefinitionModelReturns the name of this dashboard component definition.- Specified by:
getNamein interfaceDashboardComponentDefinitionModel
-
setName
-
getDescription
Description copied from interface:DashboardComponentDefinitionModelReturns the optional description of this dashboard component definition, describing where and how it might be used.- Specified by:
getDescriptionin interfaceDashboardComponentDefinitionModel
-
setDescription
-
getType
Description copied from interface:DashboardComponentDefinitionModelReturns the high-level type of this dashboard component, for example 'line chart'.- Specified by:
getTypein interfaceDashboardComponentDefinitionModel
-
setType
-
getSubType
Description copied from interface:DashboardComponentDefinitionModelSpecifies the component further and together with the type should fully classify the component. For exampler 'processInstanceThroughput'.- Specified by:
getSubTypein interfaceDashboardComponentDefinitionModel
-
setSubType
-
getQueryModel
Description copied from interface:DashboardComponentDefinitionModelReturns the key of the query model that is used to fetch the data needed to display this component.- Specified by:
getQueryModelin interfaceDashboardComponentDefinitionModel
-
setQueryModel
public void setQueryModel(DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo queryModel) -
getInputParameters
public List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> getInputParameters()Description copied from interface:DashboardComponentDefinitionModelReturns the list of input parameters that this component can use.- Specified by:
getInputParametersin interfaceDashboardComponentDefinitionModel
-
setInputParameters
public void setInputParameters(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) -
getOptions
Description copied from interface:DashboardComponentDefinitionModelReturns the list of potential options for this component.- Specified by:
getOptionsin interfaceDashboardComponentDefinitionModel
-
setOptions
-
getConfiguration
public com.fasterxml.jackson.databind.node.ObjectNode getConfiguration()Description copied from interface:DashboardComponentDefinitionModelA configuration that is component dependent- Specified by:
getConfigurationin interfaceDashboardComponentDefinitionModel
-
setConfiguration
public void setConfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration) -
getQueryResultMapping
public DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping getQueryResultMapping()Description copied from interface:DashboardComponentDefinitionModelReturns the mapping configuration to map from the result of executing the query model to the data format.- Specified by:
getQueryResultMappingin interfaceDashboardComponentDefinitionModel
-
setQueryResultMapping
public void setQueryResultMapping(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) -
getStaticData
public com.fasterxml.jackson.databind.JsonNode getStaticData()Description copied from interface:DashboardComponentDefinitionModelReturns the static data, if any is set. If static data is set, no query will be executed to get real data.- Specified by:
getStaticDatain interfaceDashboardComponentDefinitionModel
-
setStaticData
public void setStaticData(com.fasterxml.jackson.databind.JsonNode staticData)
-