Package org.eclipse.cdt.utils.envvar
Class StorableEnvVar
java.lang.Object
org.eclipse.cdt.core.envvar.EnvironmentVariable
org.eclipse.cdt.utils.envvar.StorableEnvVar
- All Implemented Interfaces:
- Cloneable,- IEnvironmentVariable
This class represents the Environment variable that could be loaded
 and stored in XML
- Since:
- 3.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.eclipse.cdt.core.envvar.EnvironmentVariablefDelimiter, fName, fOperation, fValueFields inherited from interface org.eclipse.cdt.core.envvar.IEnvironmentVariableENVVAR_APPEND, ENVVAR_PREPEND, ENVVAR_REMOVE, ENVVAR_REPLACE
- 
Constructor SummaryConstructorsConstructorDescriptionStorableEnvVar(String name) StorableEnvVar(String name, String value) StorableEnvVar(String name, String value, int op, String delimiter) StorableEnvVar(String name, String value, String delimiter) StorableEnvVar(String name, org.osgi.service.prefs.Preferences element) Load the Environment Variable directly from a Preference elementStorableEnvVar(ICStorageElement element) Load the environment variable from the ICStorageElement
- 
Method SummaryModifier and TypeMethodDescriptionvoidserialize(ICStorageElement element) voidserialize(org.osgi.service.prefs.Preferences element) Serialize this Preference straight into the Preferences element.Methods inherited from class org.eclipse.cdt.core.envvar.EnvironmentVariableclone, equals, getDelimiter, getName, getOperation, getValue, hashCode, toString
- 
Field Details- 
VARIABLE_ELEMENT_NAME- See Also:
 
- 
NAME- See Also:
 
- 
VALUE- See Also:
 
- 
OPERATION- See Also:
 
- 
DELIMITER- See Also:
 
- 
REPLACE- See Also:
 
- 
REMOVE- See Also:
 
- 
APPEND- See Also:
 
- 
PREPEND- See Also:
 
 
- 
- 
Constructor Details- 
StorableEnvVar
- 
StorableEnvVar
- 
StorableEnvVar
- 
StorableEnvVar
- 
StorableEnvVarLoad the environment variable from the ICStorageElement- Parameters:
- element-
 
- 
StorableEnvVarLoad the Environment Variable directly from a Preference element- Parameters:
- name-
- element-
- Since:
- 5.2
 
 
- 
- 
Method Details- 
serialize
- 
serializepublic void serialize(org.osgi.service.prefs.Preferences element) Serialize this Preference straight into the Preferences element. It's assumed that the Preference node represents this StorableEnvVar's name- Parameters:
- element-
- Since:
- 5.2
 
 
-