org.eclipse.cdt.managedbuilder.internal.envvar
Class ExternalExtensionEnvironmentSupplier

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.envvar.ExternalExtensionEnvironmentSupplier
All Implemented Interfaces:
IEnvironmentVariableSupplier

public class ExternalExtensionEnvironmentSupplier
extends java.lang.Object
implements IEnvironmentVariableSupplier

This is the Environment Variable Supplier used to supply variables defined by the tool-integrator

Since:
3.0

Constructor Summary
ExternalExtensionEnvironmentSupplier(IEnvironmentVariableManager mngr)
          EnvironmentVariableProvider passed to the tool-integrator provided suppliers.
 
Method Summary
 IEnvironmentVariable getVariable(java.lang.String name, java.lang.Object context)
           
 IEnvironmentVariable[] getVariables(java.lang.Object context)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalExtensionEnvironmentSupplier

public ExternalExtensionEnvironmentSupplier(IEnvironmentVariableManager mngr)
EnvironmentVariableProvider passed to the tool-integrator provided suppliers. Accepts only contexts lower than the one passed to a suppler

Since:
3.0
Method Detail

getVariable

public IEnvironmentVariable getVariable(java.lang.String name,
                                        java.lang.Object context)
Specified by:
getVariable in interface IEnvironmentVariableSupplier
Parameters:
name - the variable name
context - 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 IEnvironmentVariableSupplier
Parameters:
context - the context
Returns:
the array of IBuildEnvironmentVariable that represents the environment variables