JSR223Variable

data class JSR223Variable @JvmOverloads constructor(val language: String, val formula: String, val timeout: Long = 1000) : DependentVariable<Any?> (source)

This variable loads any JSR-233 language available in the classpath.

Constructors

Link copied to clipboard
constructor(language: String, formula: String, timeout: Long = 1000)

builds a new JSR223Variable given a language name and a script.

Properties

Link copied to clipboard

the script that will get interpreted

Link copied to clipboard

the language name, file extension, or mime type

Link copied to clipboard

how long should the interpreter be allowed to compute before giving up, in ms. Defaults to 1000ms

Functions

Link copied to clipboard
open override fun getWith(variables: Map<String, Any?>): Any?

Given the current controlled variables, computes the current values for this variable.