Class ScriptEngineRequest.Builder

    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • storeScriptVariables

        public ScriptEngineRequest.Builder storeScriptVariables()
        Automatically store variables from script evaluation context to the given variable container. Not recommended, to avoid variableContainer pollution. Better to put the script evaluation result object to the variableContainer, if required.
      • additionalResolver

        public ScriptEngineRequest.Builder additionalResolver​(Resolver additionalResolver)
        Adds additional resolver to the end of the list of resolvers. The order of the resolvers matter, as the first resolver returning containsKey = true will be used to resolve a variable during script execution. The resolvers take precedence over the resolvers created for the variableContainer. Useful to provide context objects to the scripting environment.