org.eclipse.cdt.managedbuilder.core
Interface IResourceInfo

All Superinterfaces:
IBuildObject
All Known Subinterfaces:
IFileInfo, IFolderInfo, IResourceConfiguration
All Known Implementing Classes:
FolderInfo, ResourceConfiguration, ResourceInfo, TestFolderInfo

public interface IResourceInfo
extends IBuildObject


Field Summary
static java.lang.String EXCLUDE
           
static java.lang.String RESOURCE_PATH
           
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
ID, NAME
 
Method Summary
 boolean canExclude(boolean exclude)
           
 org.eclipse.cdt.core.settings.model.extension.CLanguageData[] getCLanguageDatas()
           
 int getKind()
           
 IConfiguration getParent()
           
 org.eclipse.core.runtime.IPath getPath()
           
 org.eclipse.cdt.core.settings.model.extension.CResourceData getResourceData()
           
 ITool[] getTools()
           
 boolean isDirty()
           
 boolean isExcluded()
           
 boolean isExtensionElement()
           
 boolean isValid()
           
 boolean needsRebuild()
           
 void setDirty(boolean dirty)
           
 void setExclude(boolean excluded)
           
 IOption setOption(IHoldsOptions parent, IOption option, boolean value)
          Sets the value of a boolean option for this resource configuration.
 IOption setOption(IHoldsOptions parent, IOption option, OptionStringValue[] value)
           
 IOption setOption(IHoldsOptions parent, IOption option, java.lang.String value)
          Sets the value of a string option for this resource configuration.
 IOption setOption(IHoldsOptions parent, IOption option, java.lang.String[] value)
          Sets the value of a list option for this resource configuration.
 void setPath(org.eclipse.core.runtime.IPath path)
           
 void setRebuildState(boolean rebuild)
           
 boolean supportsBuild(boolean managed)
           
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
getBaseId, getId, getManagedBuildRevision, getName, getVersion, setVersion
 

Field Detail

RESOURCE_PATH

static final java.lang.String RESOURCE_PATH
See Also:
Constant Field Values

EXCLUDE

static final java.lang.String EXCLUDE
See Also:
Constant Field Values
Method Detail

getPath

org.eclipse.core.runtime.IPath getPath()

setPath

void setPath(org.eclipse.core.runtime.IPath path)

isExcluded

boolean isExcluded()

isExtensionElement

boolean isExtensionElement()

setExclude

void setExclude(boolean excluded)

canExclude

boolean canExclude(boolean exclude)

isDirty

boolean isDirty()

needsRebuild

boolean needsRebuild()

setDirty

void setDirty(boolean dirty)

setRebuildState

void setRebuildState(boolean rebuild)

getKind

int getKind()

getParent

IConfiguration getParent()

getResourceData

org.eclipse.cdt.core.settings.model.extension.CResourceData getResourceData()

isValid

boolean isValid()

getCLanguageDatas

org.eclipse.cdt.core.settings.model.extension.CLanguageData[] getCLanguageDatas()

getTools

ITool[] getTools()

supportsBuild

boolean supportsBuild(boolean managed)

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  boolean value)
                  throws BuildException
Sets the value of a boolean option for this resource configuration.

Parameters:
parent - The holder/parent of the option.
option - The option to change.
value - The value to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  java.lang.String value)
                  throws BuildException
Sets the value of a string option for this resource configuration.

Parameters:
parent - The holder/parent of the option.
option - The option that will be effected by change.
value - The value to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  java.lang.String[] value)
                  throws BuildException
Sets the value of a list option for this resource configuration.

Parameters:
parent - The holder/parent of the option.
option - The option to change.
value - The values to apply to the option.
Returns:
IOption The modified option. This can be the same option or a newly created option.
Throws:
BuildException

setOption

IOption setOption(IHoldsOptions parent,
                  IOption option,
                  OptionStringValue[] value)
                  throws BuildException
Throws:
BuildException