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.DashboardComponentInputParameter, DashboardComponentDefinitionModel.DashboardComponentOption, DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo, DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
A 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.JsonNode
Returns 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'.void
setConfiguration
(com.fasterxml.jackson.databind.node.ObjectNode configuration) void
setDescription
(String description) void
setInputParameters
(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) void
void
void
void
void
setQueryResultMapping
(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) void
setStaticData
(com.fasterxml.jackson.databind.JsonNode staticData) void
setSubType
(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:DashboardComponentDefinitionModel
Returns the business key usually used to reference or lookup a dashboard component definition regardless of its version.- Specified by:
getKey
in interfaceDashboardComponentDefinitionModel
-
setKey
-
getName
Description copied from interface:DashboardComponentDefinitionModel
Returns the name of this dashboard component definition.- Specified by:
getName
in interfaceDashboardComponentDefinitionModel
-
setName
-
getDescription
Description copied from interface:DashboardComponentDefinitionModel
Returns the optional description of this dashboard component definition, describing where and how it might be used.- Specified by:
getDescription
in interfaceDashboardComponentDefinitionModel
-
setDescription
-
getType
Description copied from interface:DashboardComponentDefinitionModel
Returns the high-level type of this dashboard component, for example 'line chart'.- Specified by:
getType
in interfaceDashboardComponentDefinitionModel
-
setType
-
getSubType
Description copied from interface:DashboardComponentDefinitionModel
Specifies the component further and together with the type should fully classify the component. For exampler 'processInstanceThroughput'.- Specified by:
getSubType
in interfaceDashboardComponentDefinitionModel
-
setSubType
-
getQueryModel
Description copied from interface:DashboardComponentDefinitionModel
Returns the key of the query model that is used to fetch the data needed to display this component.- Specified by:
getQueryModel
in interfaceDashboardComponentDefinitionModel
-
setQueryModel
public void setQueryModel(DashboardComponentDefinitionModel.DashboardComponentQueryModelInfo queryModel) -
getInputParameters
public List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> getInputParameters()Description copied from interface:DashboardComponentDefinitionModel
Returns the list of input parameters that this component can use.- Specified by:
getInputParameters
in interfaceDashboardComponentDefinitionModel
-
setInputParameters
public void setInputParameters(List<DashboardComponentDefinitionModel.DashboardComponentInputParameter> inputParameters) -
getOptions
Description copied from interface:DashboardComponentDefinitionModel
Returns the list of potential options for this component.- Specified by:
getOptions
in interfaceDashboardComponentDefinitionModel
-
setOptions
-
getConfiguration
public com.fasterxml.jackson.databind.node.ObjectNode getConfiguration()Description copied from interface:DashboardComponentDefinitionModel
A configuration that is component dependent- Specified by:
getConfiguration
in interfaceDashboardComponentDefinitionModel
-
setConfiguration
public void setConfiguration(com.fasterxml.jackson.databind.node.ObjectNode configuration) -
getQueryResultMapping
public DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping getQueryResultMapping()Description copied from interface:DashboardComponentDefinitionModel
Returns the mapping configuration to map from the result of executing the query model to the data format.- Specified by:
getQueryResultMapping
in interfaceDashboardComponentDefinitionModel
-
setQueryResultMapping
public void setQueryResultMapping(DashboardComponentDefinitionModel.DashboardComponentQueryResultMapping queryResultMapping) -
getStaticData
public com.fasterxml.jackson.databind.JsonNode getStaticData()Description copied from interface:DashboardComponentDefinitionModel
Returns the static data, if any is set. If static data is set, no query will be executed to get real data.- Specified by:
getStaticData
in interfaceDashboardComponentDefinitionModel
-
setStaticData
public void setStaticData(com.fasterxml.jackson.databind.JsonNode staticData)
-