Interface ScriptCompiler

All Known Implementing Classes:
ScriptService

public interface ScriptCompiler
Takes a Script definition and returns a compiled script factory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ScriptCompiler
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    compile(Script script, ScriptContext<T> scriptContext)
    Takes a Script definition and returns a compiled script factory
  • Field Details

  • Method Details

    • compile

      <T> T compile(Script script, ScriptContext<T> scriptContext)
      Takes a Script definition and returns a compiled script factory
      Type Parameters:
      T - the class of the compiled Script factory
      Parameters:
      script - the Script to compile
      scriptContext - the ScriptContext defining how to compile the script
      Returns:
      a Script factory