|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.core.envvar.EnvVarCollector
public class EnvVarCollector
This class implements the "merging" functionality of environment variables Used by the EnvironmentVariableProvider to "merge" the sets of macros returned by different suppliers into one set returned to the user
Constructor Summary | |
---|---|
EnvVarCollector()
|
Method Summary | |
---|---|
void |
add(IEnvironmentVariable[] vars)
adds an array of environment variables to the set of variables held by this collector performing environment variable operations |
void |
add(IEnvironmentVariable[] vars,
IEnvironmentContextInfo info,
int num,
ICoreEnvironmentVariableSupplier supplier)
|
void |
clear()
|
EnvVarDescriptor |
getVariable(java.lang.String name)
Returns a variable of a given name held by this collector |
EnvVarDescriptor[] |
getVariables()
Returns an array of variables held by this collector The call to this method is equivalent of calling toArray(true) |
EnvVarDescriptor[] |
toArray(boolean includeRemoved)
Returns an array of variables held by this collector |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnvVarCollector()
Method Detail |
---|
public void add(IEnvironmentVariable[] vars)
vars
- public void add(IEnvironmentVariable[] vars, IEnvironmentContextInfo info, int num, ICoreEnvironmentVariableSupplier supplier)
public EnvVarDescriptor[] toArray(boolean includeRemoved)
includeRemoved
- true if removed variables should be included in the resulting array
public EnvVarDescriptor getVariable(java.lang.String name)
name
- a variable name
public EnvVarDescriptor[] getVariables()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |