Interface GroovyScriptExtension


public interface GroovyScriptExtension
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(groovy.lang.Binding binding, Map<Class<?>,Object> contextObjects)
    Method used to load the extension and, usually, to bind methods or variables based on context objects
    void
     
  • Method Details

    • load

      void load(groovy.lang.Binding binding, Map<Class<?>,Object> contextObjects)
      Method used to load the extension and, usually, to bind methods or variables based on context objects
      Parameters:
      binding - The context which functions will be created in
      contextObjects - Context objects (ComputationManager, Writer, etc.) used in groovy script extensions
    • unload

      void unload()