Package 

Class JSR223Variable

  • All Implemented Interfaces:
    it.unibo.alchemist.loader.variables.DependentVariable , java.io.Serializable

    
    public final class JSR223Variable<R extends Object>
     implements DependentVariable<R>
                        

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

    • Constructor Detail

      • JSR223Variable

        JSR223Variable(String language, String formula)
        builds a new JSR223Variable given a language name and a script.
        Parameters:
        language - can be the name of the language, the file extension, or its mime type
        formula - the script that will get interpreted