Package net.pricefx.formulaengine.scripting.inputbuilder
package net.pricefx.formulaengine.scripting.inputbuilder
Provides
InputBuilderFactory
as a convenient way to create Inputs.
See the Input Builders Knowledge Base article.
Example:
def nameInput = api.inputBuilderFactory()
.createTextUserEntry("Name")
.buildContextParameter()
def colorInpput = api.inputBuilderFactory
.createOptionsEntry("Color")
.setLabel("Pick Color")
.addOption("red")
.addOption("yellow")
.addOption("green")
.setLabels(["red": "Red",
"yellow": "Yellow",
"green": "Green",
])
.buildContextParameter()
-
ClassDescriptionBuilder class for input type Button
InputType.BUTTON
Builder class for input type Configurator or InlineConfigurator (InputType.CONFIGURATOR
orInputType.INLINECONFIGURATOR
)Builder class for input type CustomerInputType.CUSTOMER
Builder class for input typeDashboardInputs
.Builder class for input typeDashboardPopup
.Builder class for input type DateRangeUserEntryInputType.DATERANGEUSERENTRY
.Builder class for input type DMFilterBuilderInputType.DMFILTERBUILDER
.Builder class for input type DMFilterBuilderInputType.DMFILTERBUILDER
.Builder class for input typeDmQueryBuilder
.Builder class for input type FilterBuilderInputType.FILTERBUILDER
.Input Builder Factory class as a convenient way to create inputs (user entries, context parameters).Builder class for input type InputMatrixInputType.INPUTMATRIX
Builder class for input type MultiTierEntryInputType.MULTITIERENTRY
.Builder class for input type Option and Options (InputType.OPTION
andInputType.OPTIONS
).Builder class for input type ProductGroup, CustomerGroup and SellerGroupBuilder class for input type ProductInputType.PRODUCT
.Builder class for input type SellerInputType.SELLER
.Builder class for basic input types.Builder class for input type SliderInputType.SLIDER
.Builder class for input type StringUserEntryInputType.STRINGUSERENTRY
.Builder class for input type LookupInputType.LOOKUP
.