Package org.esa.snap.core.gpf.descriptor
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 Summary
Constructors Constructor Description SystemDependentVariable(String key, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemVariable
createCopy()
Creates a copy of this SystemVariable instance.String
getCurrentOSValue()
String
getLinux()
Gets the property value for LinuxString
getMacosx()
Gets the property value for MacOSXString
getValue()
Sets the property value for the current OSString
getWindows()
Gets the property value for Windowsvoid
setLinux(String value)
Sets the property value for Linuxvoid
setMacosx(String value)
Sets the property value for MacOSXvoid
setTransient(boolean value)
void
setValue(String value)
Gets the property value for the current OSvoid
setWindows(String value)
Sets the property value for Windows-
Methods inherited from class org.esa.snap.core.gpf.descriptor.SystemVariable
addLookupReference, addLookupReference, getKey, isShared, resolve, setKey, setShared
-
-
-
-
Method Detail
-
getValue
public String getValue()
Sets the property value for the current OS- Overrides:
getValue
in classSystemVariable
-
setValue
public void setValue(String value)
Gets the property value for the current OS- Overrides:
setValue
in classSystemVariable
-
createCopy
public SystemVariable createCopy()
Description copied from class:SystemVariable
Creates a copy of this SystemVariable instance.- Overrides:
createCopy
in classSystemVariable
- 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()
-
-