|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigurationV2
This class represents a project configuration in the old (CDT 2.0) managed build system model.
The configuration contains one or more children of type tool-reference. This class was deprecated in 2.1
Field Summary | |
---|---|
static java.lang.String |
CONFIGURATION_ELEMENT_NAME
|
static java.lang.String |
PARENT
|
static java.lang.String |
TOOLREF_ELEMENT_NAME
|
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject |
---|
ID, NAME |
Method Summary | |
---|---|
IConfiguration |
getCreatedConfig()
Returns the configuration that was created from this V2.0 configuration. |
ITool[] |
getFilteredTools(org.eclipse.core.resources.IProject project)
Projects have C or CC natures. |
org.eclipse.core.resources.IResource |
getOwner()
Returns the resource that owns the project that owns the configuration. |
IConfigurationV2 |
getParent()
Answers the configuration that this configuration is based on. |
ITarget |
getTarget()
Returns the target for this configuration. |
ITool |
getToolById(java.lang.String id)
Answers the ITool in the receiver with the same
id as the argument, or null . |
IToolReference[] |
getToolReferences()
Returns the tool references that are children of this configuration. |
ITool[] |
getTools()
Returns the tools that are used in this configuration. |
boolean |
isDirty()
Answers true the receiver has changes that need to be saved
in the project file, else false . |
boolean |
needsRebuild()
Answers whether the receiver has been changed and requires the project to be rebuilt. |
void |
setCreatedConfig(IConfiguration config)
Sets the configuration that was created from this V2.0 configuration. |
void |
setDirty(boolean isDirty)
Sets the element's "dirty" (have I been modified?) |
void |
setName(java.lang.String name)
Sets the name of the receiver to the value specified in the argument |
void |
setOption(IOption option,
boolean value)
Sets the value of a boolean option for this configuration. |
void |
setOption(IOption option,
java.lang.String value)
Sets the value of a string option for this configuration. |
void |
setOption(IOption option,
java.lang.String[] value)
Sets the value of a list option for this configuration. |
void |
setRebuildState(boolean rebuild)
Sets the rebuild state in the receiver. |
void |
setToolCommand(ITool tool,
java.lang.String command)
Overrides the tool command for a tool defined in the receiver. |
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject |
---|
getBaseId, getId, getManagedBuildRevision, getName, getVersion, setVersion |
Field Detail |
---|
static final java.lang.String CONFIGURATION_ELEMENT_NAME
static final java.lang.String TOOLREF_ELEMENT_NAME
static final java.lang.String PARENT
Method Detail |
---|
ITool[] getFilteredTools(org.eclipse.core.resources.IProject project)
project
- the project to filter for
ITools
that have compatible filters
for the specified projectorg.eclipse.core.resources.IResource getOwner()
IConfigurationV2 getParent()
ITarget getTarget()
ITool getToolById(java.lang.String id)
ITool
in the receiver with the same
id as the argument, or null
.
id
- unique identifier to search for
ITool[] getTools()
IToolReference[] getToolReferences()
boolean isDirty()
true
the receiver has changes that need to be saved
in the project file, else false
.
boolean needsRebuild()
true
if the receiver contains a change
that needs the project to be rebuiltvoid setDirty(boolean isDirty)
isDirty
- void setName(java.lang.String name)
name
- void setOption(IOption option, boolean value) throws BuildException
option
- The option to change.value
- The value to apply to the option.
BuildException
void setOption(IOption option, java.lang.String value) throws BuildException
option
- The option that will be effected by change.value
- The value to apply to the option.
BuildException
void setOption(IOption option, java.lang.String[] value) throws BuildException
option
- The option to change.value
- The values to apply to the option.
BuildException
void setRebuildState(boolean rebuild)
rebuild
- true
will force a rebuild the next time the project buildsIManagedBuildInfo.setRebuildState(boolean)
void setToolCommand(ITool tool, java.lang.String command)
tool
- The tool that will have its command modifiedcommand
- The commandvoid setCreatedConfig(IConfiguration config)
config
- IConfiguration getCreatedConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |