Package org.esa.snap.core.gpf.descriptor
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 Summary
Constructors Constructor Description SystemVariable(String key, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addLookupReference(LookupReference reference)
static void
addLookupReference(LookupWithDefaultReference reference)
SystemVariable
createCopy()
Creates a copy of this SystemVariable instance.String
getKey()
Gets the name of the system variable.String
getValue()
Gets the value of the system variableboolean
isShared()
Returnstrue
if the variable is intended to be shared with other adapters.protected String
resolve()
void
setKey(String key)
Sets the name of the system variable.void
setShared(boolean value)
void
setValue(String value)
Sets the value of the system variable
-
-
-
Method Detail
-
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()
Returnstrue
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()
-
-