Uses of Class
net.pricefx.server.dto.calculation.ContextParameter
-
Packages that use ContextParameter Package Description net.pricefx.formulaengine.scripting Provides API related to scripting, including interfacePublicGroovyAPI
, that represents what can be reached in the Groovy element syntax asapi
.net.pricefx.formulaengine.scripting.inputbuilder ProvidesInputBuilderFactory
as a convenient way to create Inputs.net.pricefx.server.dto.calculation Defines set of data transfer object (DTO) classes related to Calculations. -
-
Uses of ContextParameter in net.pricefx.formulaengine.scripting
Methods in net.pricefx.formulaengine.scripting that return ContextParameter Modifier and Type Method Description ContextParameter
PublicGroovyAPI. getParameter(String parameterName)
Retrieves an already generated (in the previous logic code) input parameter in the form of aContextParameter
object. -
Uses of ContextParameter in net.pricefx.formulaengine.scripting.inputbuilder
Fields in net.pricefx.formulaengine.scripting.inputbuilder declared as ContextParameter Modifier and Type Field Description protected ContextParameter
AbstractInputBuilder. cp
Methods in net.pricefx.formulaengine.scripting.inputbuilder that return ContextParameter Modifier and Type Method Description ContextParameter
AbstractInputBuilder. buildContextParameter()
Builds the input field (ContextParameter
).Methods in net.pricefx.formulaengine.scripting.inputbuilder with parameters of type ContextParameter Modifier and Type Method Description CollapseInputBuilder<T>
CollapseInputBuilder. addInput(ContextParameter contextParameter)
-
Uses of ContextParameter in net.pricefx.server.dto.calculation
Methods in net.pricefx.server.dto.calculation that return ContextParameter Modifier and Type Method Description ContextParameter
ContextParameter. applyType(InputType inputType)
ContextParameter
ContextParameter. copyWithoutValue()
ContextParameter
ConfiguratorEntry. createParameter(InputType type, String name)
Creates a parameter and adds it to the list of inputs.ContextParameter
ConfiguratorEntry. createParameter(InputType type, String name, Date targetDate)
Creates a parameter and adds it to the list of inputs.ContextParameter
ConfiguratorEntry. getFirstInput()
Gets the first context parameter.ContextParameter
ContextParameter. setAddUnknownValues(Boolean addUnknownValues)
ContextParameter
ContextParameter. setAlwaysEditable(Boolean alwaysEditable)
ContextParameter
ContextParameter. setConfigParameter(String paramName, Object value)
Adds additional configuration parameter/option to the input.ContextParameter
ContextParameter. setFilter(Map<String,Object> filter)
ContextParameter
ContextParameter. setFilters(Filter... filters)
ContextParameter
ContextParameter. setFormattingOption(String optionName, Object value)
ContextParameter
ContextParameter. setLabel(String label)
Sets the label of the input parameter to the given text.ContextParameter
ContextParameter. setLabelTranslations(String labelTranslations)
ContextParameter
ContextParameter. setLabelTranslationsFromMap(Map<String,String> translations)
ContextParameter
ContextParameter. setParameterConfig(Map<String,Object> parameterConfig)
ContextParameter
ContextParameter. setParameterGroup(String parameterGroup)
Allows you to create collapsible sections that organize inputs in the UI.ContextParameter
ContextParameter. setReadOnly(Boolean readOnly)
ContextParameter
ContextParameter. setRequired(Boolean required)
Sets, if it's mandatory for the input parameter to have a value.ContextParameter
ContextParameter. setTypedId(String typedId)
ContextParameter
ContextParameter. setURL(String url)
ContextParameter
ContextParameter. setValue(Object value)
Set initial/default value of the input parameter.ContextParameter
ContextParameter. setValueHint(String hint)
ContextParameter
ContextParameter. setValueOptions(String[] valueOptions)
Sets list of options used in the dropdown input field.ContextParameter
ContextParameter. setValueOptions(List<String> valueOptions)
Methods in net.pricefx.server.dto.calculation that return types with arguments of type ContextParameter Modifier and Type Method Description List<ContextParameter>
ConfiguratorEntry. getInputs()
Gets the list of context parameters parameters.List<ContextParameter>
ContextParameter. getInputs()
Methods in net.pricefx.server.dto.calculation with parameters of type ContextParameter Modifier and Type Method Description void
ContextParameter. addInput(ContextParameter contextParameter)
Adds a nested input.ConfiguratorEntry
ConfiguratorEntry. addParameter(ContextParameter input)
Adds a parameter to the list of parameters of this object.ConfiguratorEntry
ConfiguratorEntry. createParameter(ContextParameter input)
Creates a parameter and adds it to the list of inputs.ConfiguratorEntry
ConfiguratorEntry. createParameter(ContextParameter input, Closure defaultValue)
Creates a parameter and adds it to the list of inputs.void
ContextParameter. update(ContextParameter cp)
Method parameters in net.pricefx.server.dto.calculation with type arguments of type ContextParameter Modifier and Type Method Description void
ConfiguratorEntry. setInputs(List<ContextParameter> inputs)
Sets the list of context parameters
-