1
/*******************************************************************************
2
* Copyright (c) 2007, 2009 Intel Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Intel Corporation - Initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.core.envvar;
13
import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
16
* @noextend This interface is not intended to be extended by clients.
17
* @noimplement This interface is not intended to be implemented by clients.
19
public interface IContributedEnvironment {
20
IEnvironmentVariable[] getVariables(ICConfigurationDescription des);
22
IEnvironmentVariable getVariable(String name, ICConfigurationDescription des);
24
boolean appendEnvironment(ICConfigurationDescription des);
26
void setAppendEnvironment(boolean append, ICConfigurationDescription des);
28
IEnvironmentVariable addVariable(String name,
32
ICConfigurationDescription des);
34
IEnvironmentVariable addVariable(IEnvironmentVariable var,
35
ICConfigurationDescription des);
37
void addVariables(IEnvironmentVariable[] vars,
38
ICConfigurationDescription des);
40
IEnvironmentVariable removeVariable(String name, ICConfigurationDescription des);
42
void restoreDefaults(ICConfigurationDescription des);
44
boolean isUserVariable(ICConfigurationDescription des, IEnvironmentVariable var);