Class SystemDependentVariable

java.lang.Object
org.esa.snap.core.gpf.descriptor.SystemVariable
org.esa.snap.core.gpf.descriptor.SystemDependentVariable

public class SystemDependentVariable extends SystemVariable
This class encapsulates a property that has OS-dependent values.
  • Constructor Details

    • SystemDependentVariable

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

    • getValue

      public String getValue()
      Sets the property value for the current OS
      Overrides:
      getValue in class SystemVariable
    • setValue

      public void setValue(String value)
      Gets the property value for the current OS
      Overrides:
      setValue in class SystemVariable
    • createCopy

      public SystemVariable createCopy()
      Description copied from class: SystemVariable
      Creates a copy of this SystemVariable instance.
      Overrides:
      createCopy in class SystemVariable
      Returns:
      A copy of this instance
    • getWindows

      public String getWindows()
      Gets the property value for Windows
    • setWindows

      public void setWindows(String value)
      Sets the property value for Windows
    • getLinux

      public String getLinux()
      Gets the property value for Linux
    • setLinux

      public void setLinux(String value)
      Sets the property value for Linux
    • getMacosx

      public String getMacosx()
      Gets the property value for MacOSX
    • setMacosx

      public void setMacosx(String value)
      Sets the property value for MacOSX
    • setTransient

      public void setTransient(boolean value)
    • getCurrentOSValue

      public String getCurrentOSValue()