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 Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Objectevaluate(Map<String, Object> context, RenderWidgetInput input) Getter for inputValuesgetName()Getter for namegetType()Getter for typevoidsetInputValues(Map<String, Serializable> inputValues) Setter for inputValuesvoidSetter for namevoidSetter for typevoidsupplementContext(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
-