Class FunctionDefinitionBuilderLazy

  • All Implemented Interfaces:
    FunctionDefinitionBuilder<de.codecentric.reedelk.runtime.api.script.dynamicvalue.DynamicValue<?>>, Function<de.codecentric.reedelk.runtime.api.script.dynamicvalue.DynamicValue<?>,​String>

    public class FunctionDefinitionBuilderLazy
    extends Object
    implements FunctionDefinitionBuilder<de.codecentric.reedelk.runtime.api.script.dynamicvalue.DynamicValue<?>>
    Creates a function only when needed. This is needed to optimize execution of script functions for which arguments names are not known in advance.
    • Method Detail

      • apply

        public String apply​(de.codecentric.reedelk.runtime.api.script.dynamicvalue.DynamicValue<?> dynamicValue)
        Specified by:
        apply in interface Function<de.codecentric.reedelk.runtime.api.script.dynamicvalue.DynamicValue<?>,​String>