diff options
Diffstat (limited to 'build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java')
-rw-r--r-- | build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java index 044a5d70f1f..e8b74162ea9 100644 --- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java +++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/envvar/IProjectEnvironmentVariableSupplier.java @@ -16,13 +16,13 @@ package org.eclipse.cdt.managedbuilder.envvar; import org.eclipse.cdt.managedbuilder.core.IManagedProject; /** - * + * * this interface is to be implemented by the tool-integrator * for supplying the project-specific environment - * + * * @since 3.0 */ -public interface IProjectEnvironmentVariableSupplier{ +public interface IProjectEnvironmentVariableSupplier { /** * * @param variableName the variable name @@ -31,17 +31,16 @@ public interface IProjectEnvironmentVariableSupplier{ * environment variables from within the supplier. The supplier should use this provider to obtain * the already defined environment instead of using the "default" provider returned by the * ManagedBuildManager.getEnvironmentVariableProvider(). - * The provider passed to a supplier will ignore searching the variables for the levels - * higher than the current supplier level, will query only the lower-precedence suppliers - * for the current level and will query all suppliers for the lower levels. - * This is done to avoid infinite loops that could be caused if the supplier calls the provider + * The provider passed to a supplier will ignore searching the variables for the levels + * higher than the current supplier level, will query only the lower-precedence suppliers + * for the current level and will query all suppliers for the lower levels. + * This is done to avoid infinite loops that could be caused if the supplier calls the provider * and the provider in turn calls that supplier again. Also the supplier should not know anything * about the environment variables defined for the higher levels. - * @return the reference to the IBuildEnvironmentVariable interface representing + * @return the reference to the IBuildEnvironmentVariable interface representing * the variable of a given name */ - IBuildEnvironmentVariable getVariable(String variableName, - IManagedProject project, + IBuildEnvironmentVariable getVariable(String variableName, IManagedProject project, IEnvironmentVariableProvider provider); /** @@ -51,15 +50,13 @@ public interface IProjectEnvironmentVariableSupplier{ * environment variables from within the supplier. The supplier should use this provider to obtain * the already defined environment instead of using the "default" provider returned by the * ManagedBuildManager.getEnvironmentVariableProvider(). - * The provider passed to a supplier will ignore searching the variables for the levels - * higher than the current supplier level, will query only the lower-precedence suppliers - * for the current level and will query all suppliers for the lower levels. - * This is done to avoid infinite loops that could be caused if the supplier calls the provider + * The provider passed to a supplier will ignore searching the variables for the levels + * higher than the current supplier level, will query only the lower-precedence suppliers + * for the current level and will query all suppliers for the lower levels. + * This is done to avoid infinite loops that could be caused if the supplier calls the provider * and the provider in turn calls that supplier again. Also the supplier should not know anything * about the environment variables defined for the higher levels. - * @return the array of IBuildEnvironmentVariable that represents the environment variables + * @return the array of IBuildEnvironmentVariable that represents the environment variables */ - IBuildEnvironmentVariable[] getVariables (IManagedProject project, - IEnvironmentVariableProvider provider); + IBuildEnvironmentVariable[] getVariables(IManagedProject project, IEnvironmentVariableProvider provider); } - |