blob: 84cf2f187cbceb1bf8853d11f229e752a539096a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/**********************************************************************
* Copyright (c) 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.cdt.core.build.managed;
import org.eclipse.core.resources.IResource;
public interface IConfiguration extends IBuildObject {
// Schema element names
public static final String TOOL_REF = "toolReference";
public static final String PARENT = "parent";
/**
* Returns the target for this configuration.
*
* @return
*/
public ITarget getTarget();
/**
* Returns the resource that owns the target that owns the configuration.
* @return
*/
public IResource getOwner();
/**
* Returns the tools that are used in this configuration.
*
* @return
*/
public ITool[] getTools();
/**
* Sets the value of a boolean option for this configuration.
*
* @param option The option to change.
* @param value The value to apply to the option.
* @throws BuildException
*/
public void setOption(IOption option, boolean value)
throws BuildException;
/**
* Sets the value of a string option for this configuration.
*
* @param option The option that will be effected by change.
* @param value The value to apply to the option.
*/
public void setOption(IOption option, String value)
throws BuildException;
/**
* Sets the value of a list option for this configuration.
*
* @param option The option to change.
* @param value The values to apply to the option.
*/
public void setOption(IOption option, String[] value)
throws BuildException;
}
|