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

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

public class MbsEnvironmentSupplier
extends java.lang.Object
implements IEnvironmentVariableSupplier

This is the Environment Variable Supplier used to supply variables defined by the MBS

Since:
3.0

Constructor Summary
MbsEnvironmentSupplier()
           
 
Method Summary
 IBuildEnvironmentVariable getConfigurationVariable(java.lang.String name, IConfiguration configuration)
           
 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

MbsEnvironmentSupplier

public MbsEnvironmentSupplier()
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

getConfigurationVariable

public IBuildEnvironmentVariable getConfigurationVariable(java.lang.String name,
                                                          IConfiguration configuration)

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