Class StorableEnvVar

java.lang.Object
org.eclipse.cdt.core.envvar.EnvironmentVariable
org.eclipse.cdt.utils.envvar.StorableEnvVar
All Implemented Interfaces:
Cloneable, IEnvironmentVariable

public class StorableEnvVar extends EnvironmentVariable
This class represents the Environment variable that could be loaded and stored in XML
Since:
3.0
  • Field Details

  • Constructor Details

    • StorableEnvVar

      public StorableEnvVar(String name, String value, int op, String delimiter)
    • StorableEnvVar

      public StorableEnvVar(String name)
    • StorableEnvVar

      public StorableEnvVar(String name, String value)
    • StorableEnvVar

      public StorableEnvVar(String name, String value, String delimiter)
    • StorableEnvVar

      public StorableEnvVar(ICStorageElement element)
      Load the environment variable from the ICStorageElement
      Parameters:
      element -
    • StorableEnvVar

      public StorableEnvVar(String name, org.osgi.service.prefs.Preferences element)
      Load the Environment Variable directly from a Preference element
      Parameters:
      name -
      element -
      Since:
      5.2
  • Method Details

    • serialize

      public void serialize(ICStorageElement element)
    • serialize

      public 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