org.eclipse.cdt.internal.core.envvar
Class EclipseEnvironmentSupplier
java.lang.Object
org.eclipse.cdt.internal.core.envvar.EclipseEnvironmentSupplier
- All Implemented Interfaces:
- ICoreEnvironmentVariableSupplier
public class EclipseEnvironmentSupplier
- extends java.lang.Object
- implements ICoreEnvironmentVariableSupplier
This is the Environment Variable Supplier used to supply variables
defined in eclipse environment
- Since:
- 3.0
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EclipseEnvironmentSupplier
public EclipseEnvironmentSupplier()
getVariable
public IEnvironmentVariable getVariable(java.lang.String name,
java.lang.Object context)
- Specified by:
getVariable
in interface ICoreEnvironmentVariableSupplier
- Parameters:
name
- the variable namecontext
- the context
- Returns:
- the reference to the IBuildEnvironmentVariable interface representing
the variable of a given name
getVariables
public IEnvironmentVariable[] getVariables(java.lang.Object context)
- Specified by:
getVariables
in interface ICoreEnvironmentVariableSupplier
- Parameters:
context
- the context
- Returns:
- the array of IBuildEnvironmentVariable that represents the environment variables
appendEnvironment
public boolean appendEnvironment(java.lang.Object context)
- Specified by:
appendEnvironment
in interface ICoreEnvironmentVariableSupplier