Class SystemVariable

java.lang.Object
org.esa.snap.core.gpf.descriptor.SystemVariable
Direct Known Subclasses:
SystemDependentVariable

public class SystemVariable extends Object
This class encapsulates an environment (or system) variable that can be passed to a tool adapter operator.
  • Constructor Details

    • SystemVariable

      public SystemVariable(String key, String value)
  • Method Details

    • addLookupReference

      public static void addLookupReference(LookupReference reference)
    • addLookupReference

      public static void addLookupReference(LookupWithDefaultReference reference)
    • getKey

      public String getKey()
      Gets the name of the system variable.
    • setKey

      public void setKey(String key)
      Sets the name of the system variable.
    • getValue

      public String getValue()
      Gets the value of the system variable
    • setValue

      public void setValue(String value)
      Sets the value of the system variable
    • isShared

      public boolean isShared()
      Returns true if the variable is intended to be shared with other adapters.
    • setShared

      public void setShared(boolean value)
    • createCopy

      public SystemVariable createCopy()
      Creates a copy of this SystemVariable instance.
      Returns:
      A copy of this instance
    • resolve

      protected String resolve()