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
This class encapsulates a property that has OS-dependent values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a copy of this SystemVariable instance.getLinux()Gets the property value for LinuxGets the property value for MacOSXgetValue()Sets the property value for the current OSGets the property value for WindowsvoidSets the property value for LinuxvoidSets the property value for MacOSXvoidsetTransient(boolean value) voidGets the property value for the current OSvoidsetWindows(String value) Sets the property value for WindowsMethods inherited from class org.esa.snap.core.gpf.descriptor.SystemVariable
addLookupReference, addLookupReference, getKey, isShared, resolve, setKey, setShared
-
Constructor Details
-
SystemDependentVariable
-
-
Method Details
-
getValue
Sets the property value for the current OS- Overrides:
getValuein classSystemVariable
-
setValue
Gets the property value for the current OS- Overrides:
setValuein classSystemVariable
-
createCopy
Description copied from class:SystemVariableCreates a copy of this SystemVariable instance.- Overrides:
createCopyin classSystemVariable- Returns:
- A copy of this instance
-
getWindows
Gets the property value for Windows -
setWindows
Sets the property value for Windows -
getLinux
Gets the property value for Linux -
setLinux
Sets the property value for Linux -
getMacosx
Gets the property value for MacOSX -
setMacosx
Sets the property value for MacOSX -
setTransient
public void setTransient(boolean value) -
getCurrentOSValue
-