Class AbstractWidgetValueSource
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.dashboard.nocode.AbstractWidgetValueSource
- Direct Known Subclasses:
AbstractWidgetValueSourceWithFilter
,QueueSizeWidgetValue
,WidgetAdHocValue
,WidgetCalculation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<String, Serializable> protected String
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
evaluate
(Map<String, Object> context, RenderWidgetInput input) Getter for inputValuesgetName()
Getter for namegetType()
Getter for typevoid
setInputValues
(Map<String, Serializable> inputValues) Setter for inputValuesvoid
Setter for namevoid
Setter for typevoid
supplementContext
(Map<String, Object> context) withInputValues
(Map<String, Serializable> inputValues) Fluent setter for inputValuesFluent setter for nameFluent setter for type
-
Field Details
-
name
-
type
-
inputValues
-
-
Constructor Details
-
AbstractWidgetValueSource
public AbstractWidgetValueSource()
-
-
Method Details
-
evaluate
public abstract Object evaluate(Map<String, Object> context, RenderWidgetInput input) throws QException- Throws:
QException
-
getType
Getter for type -
setType
Setter for type -
withType
Fluent setter for type -
getName
Getter for name -
setName
Setter for name -
withName
Fluent setter for name -
supplementContext
-
getInputValues
Getter for inputValues -
setInputValues
Setter for inputValues -
withInputValues
Fluent setter for inputValues
-