Class TemplateContext<C>

java.lang.Object
org.esa.snap.core.gpf.descriptor.template.TemplateContext<C>

public abstract class TemplateContext<C> extends Object
Wrapper for scripting context implementations.
  • Field Details

    • context

      protected C context
  • Constructor Details

    • TemplateContext

      public TemplateContext(C wrappedContext)
      Default constructor
      Parameters:
      wrappedContext - The wrapped scripting context
  • Method Details

    • getContext

      public C getContext()
      Returns the wrapped context
    • getValue

      public abstract Object getValue(String name)
      Returns the value of the named context parameter.
      Parameters:
      name - The parameter name