org.eclipse.cdt.managedbuilder.internal.core
Class Builder

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.core.BuildObject
      extended by org.eclipse.cdt.managedbuilder.internal.core.Builder
All Implemented Interfaces:
java.lang.Comparable, IBuilder, IBuildObject, IMatchKeyProvider, IMakeBuilderInfo, IMakeCommonBuildInfo

public class Builder
extends BuildObject
implements IBuilder, IMatchKeyProvider


Field Summary
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuilder
ARGUMENTS, ATTRIBUTE_APPEND_ENVIRONMENT, ATTRIBUTE_AUTO_ENABLED, ATTRIBUTE_BUILD_PATH, ATTRIBUTE_CLEAN_ENABLED, ATTRIBUTE_CUSTOM_PROPS, ATTRIBUTE_CUSTOMIZED_ERROR_PARSERS, ATTRIBUTE_ENVIRONMENT, ATTRIBUTE_IGNORE_ERR_CMD, ATTRIBUTE_INCREMENTAL_ENABLED, ATTRIBUTE_KEEP_ENV, ATTRIBUTE_MANAGED_BUILD_ON, ATTRIBUTE_PARALLEL_BUILD_CMD, ATTRIBUTE_PARALLEL_BUILD_ON, ATTRIBUTE_PARALLELIZATION_NUMBER, ATTRIBUTE_STOP_ON_ERR, ATTRIBUTE_SUPORTS_MANAGED_BUILD, ATTRIBUTE_TARGET_AUTO, ATTRIBUTE_TARGET_CLEAN, ATTRIBUTE_TARGET_INCREMENTAL, BUILDER_ELEMENT_NAME, BUILDFILEGEN_ID, COMMAND, CONVERT_TO_ID, DEFAULT_TARGET_AUTO, DEFAULT_TARGET_CLEAN, DEFAULT_TARGET_INCREMENTAL, IS_SYSTEM, IS_VARIABLE_CASE_SENSITIVE, OUTPUT_ENTRIES, PARALLEL_PATTERN_NUM, PARALLEL_PATTERN_NUM_END, PARALLEL_PATTERN_NUM_START, RESERVED_MACRO_NAME_SUPPLIER, RESERVED_MACRO_NAMES, VARIABLE_FORMAT, VERSIONS_SUPPORTED
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
ID, NAME
 
Fields inherited from interface org.eclipse.cdt.newmake.core.IMakeBuilderInfo
BUILD_TARGET_AUTO, BUILD_TARGET_CLEAN, BUILD_TARGET_FULL, BUILD_TARGET_INCREAMENTAL, BUILD_TARGET_INCREMENTAL
 
Fields inherited from interface org.eclipse.cdt.newmake.core.IMakeCommonBuildInfo
ARGS_PREFIX, BUILD_ARGUMENTS, BUILD_COMMAND, BUILD_LOCATION
 
Constructor Summary
Builder(IToolChain parent, org.eclipse.cdt.core.settings.model.ICStorageElement element, java.lang.String managedBuildRevision)
          Create a Builder based on the specification stored in the project file (.cdtbuild).
Builder(IToolChain parent, IManagedConfigElement element, java.lang.String managedBuildRevision)
          This constructor is called to create a builder defined by an extension point in a plugin manifest file, or returned by a dynamic element provider
Builder(IToolChain parent, java.lang.String Id, java.lang.String name, Builder builder)
          Create a Builder based upon an existing builder.
Builder(ToolChain parent, IBuilder superClass, java.lang.String Id, java.lang.String name, boolean isExtensionElement)
          This constructor is called to create a Builder whose attributes and children will be added by separate calls.
 
Method Summary
 boolean appendEnvironment()
           
 boolean canKeepEnvironmentVariablesInBuildfile()
           
 void checkForMigrationSupport()
           
 int compareTo(java.lang.Object o)
           
 java.util.Set contributeErrorParsers(java.util.Set set)
           
 void copySettings(Builder builder, boolean allBuildSettings)
           
 java.lang.String getArguments()
          Returns the command line arguments to pass to the build/make utility used to build a configuration.
 java.lang.String getArgumentsAttribute()
           
 java.lang.String getAutoBuildTarget()
           
 java.lang.String getAutoBuildTargetAttribute()
           
 java.lang.String getBuildArguments()
           
 java.lang.String getBuildAttribute(java.lang.String name, java.lang.String defaultValue)
           
 org.eclipse.core.runtime.IPath getBuildCommand()
           
 org.eclipse.cdt.core.settings.model.extension.CBuildData getBuildData()
           
 java.lang.String getBuilderVariablePattern()
          Returns String representing the build variable pattern to be used while makefile generation
 IManagedBuilderMakefileGenerator getBuildFileGenerator()
          Returns the BuildfileGenerator used to generate buildfiles for this builder
 org.eclipse.core.runtime.IConfigurationElement getBuildFileGeneratorElement()
          Returns the plugin.xml element of the buildFileGenerator extension or null if none.
 org.eclipse.core.runtime.IPath getBuildLocation()
           
 java.lang.String getBuildPath()
           
 java.lang.String getBuildPathAttribute()
           
 java.lang.String getBuildPathAttribute(boolean querySuperClass)
           
 java.lang.String getCleanBuildTarget()
           
 java.lang.String getCleanBuildTargetAttribute()
           
 java.lang.String getCommand()
          Returns the name of the build/make utility for the configuration.
 IConfiguration getConfguration()
           
 java.lang.String getConvertToId()
          Returns the 'convertToId' of this builder
 org.eclipse.core.runtime.IConfigurationElement getCurrentMbsVersionConversionElement()
           
 java.lang.String[] getCustomizedErrorParserIds()
           
 java.lang.String getDefaultBuildPath()
           
 java.util.Map getEnvironment()
           
 java.lang.String getErrorParserIds()
          Returns the semicolon separated list of unique IDs of the error parsers associated with the builder.
 java.lang.String[] getErrorParserList()
          Returns the ordered list of unique IDs of the error parsers associated with the builder.
 java.lang.String[] getErrorParsers()
           
 java.util.Map getExpandedEnvironment()
           
 IFileContextBuildMacroValues getFileContextBuildMacroValues()
          Returns the IFileContextBuildMacroValues interface reference that specifies the file-context macro-values provided by the tool-integrator
 java.lang.String getFullBuildTarget()
           
 java.util.List getIdenticalList()
           
 java.lang.String getIgnoreErrCmdAttribute()
           
 java.lang.String getIncrementalBuildTarget()
           
 java.lang.String getIncrementalBuildTargetAttribute()
           
 java.lang.Boolean getManagedBuildOnAttribute()
           
 java.lang.Object getMatchKey()
           
 java.lang.String getName()
           
 java.lang.String getNameAndVersion()
           
 org.eclipse.cdt.core.settings.model.ICOutputEntry[] getOutputEntries()
           
 org.eclipse.cdt.core.settings.model.ICOutputEntry[] getOutputEntrySettings()
           
 java.lang.String getParallelizationCmd(int num)
           
 int getParallelizationNum()
           
 int getParallelizationNumAttribute()
           
 IToolChain getParent()
          Returns the tool-chain that is the parent of this builder.
 java.lang.String getParrallelBuildCmd()
           
 org.eclipse.core.runtime.IConfigurationElement getPreviousMbsVersionConversionElement()
           
 java.lang.String[] getReservedMacroNames()
          Returns an array of Strings representing the patterns of the builder/buildfile-generator reserved variables
 IReservedMacroNameSupplier getReservedMacroNameSupplier()
          Returns the tool-integrator defined implementation of the IReservedMacroNameSupplier to be used for detecting the builder/buildfile-generator reserved variables
 java.lang.String getStopOnErrCmd(boolean stop)
           
 IBuilder getSuperClass()
          Returns the IBuilder that is the superclass of this target platform, or null if the attribute was not specified.
 java.lang.String getUniqueRealName()
           
 java.lang.String getUnusedChildren()
          Returns a semi-colon delimited list of child Ids of the superclass' children that should not be automatically inherited by this element.
 java.lang.String getVersionsSupported()
          Returns the 'versionsSupported' of this builder
 boolean isAbstract()
          Returns whether this element is abstract.
 boolean isAutoBuildEnable()
           
 boolean isCleanBuildEnabled()
           
 boolean isCustomBuilder()
           
 boolean isDefaultBuildCmd()
           
 boolean isDirty()
          Returns true if this element has changes that need to be saved in the project file, else false.
 boolean isExtensionElement()
          Returns true if this builder was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.
 boolean isFullBuildEnabled()
           
 boolean isIncrementalBuildEnabled()
           
 boolean isInternalBuilder()
           
 boolean isManagedBuildOn()
           
 boolean isParallelBuildOn()
           
 boolean isStopOnError()
           
 boolean isSystemObject()
           
 boolean isVariableCaseSensitive()
          Returns whether the builder supports case sensitive variables or not
 boolean keepEnvironmentVariablesInBuildfile()
           
 boolean matches(IBuilder builder)
           
 boolean performMatchComparison(IBuilder builder)
           
 void resetErrorParsers()
           
 void resolveReferences()
           
 void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)
           
 void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element, boolean resetDirtyState)
          Persist the builder to the project file.
 void serializeRawData(org.eclipse.cdt.core.settings.model.ICStorageElement element)
           
 void setAppendEnvironment(boolean append)
           
 void setArguments(java.lang.String newArgs)
          Sets the arguments to be passed to the build utility used by the receiver to produce a build goal.
 void setArgumentsAttribute(java.lang.String newArgs)
           
 void setAutoBuildEnable(boolean enabled)
           
 void setAutoBuildTarget(java.lang.String target)
           
 void setBuildArguments(java.lang.String args)
           
 void setBuildAttribute(java.lang.String name, java.lang.String value)
           
 void setBuildCommand(org.eclipse.core.runtime.IPath command)
           
 void setBuildFileGeneratorElement(org.eclipse.core.runtime.IConfigurationElement element)
          Sets the BuildFileGenerator plugin.xml element
 void setBuildLocation(org.eclipse.core.runtime.IPath location)
           
 void setBuildPath(java.lang.String path)
           
 void setBuildPathAttribute(java.lang.String path)
           
 void setCleanBuildEnable(boolean enabled)
           
 void setCleanBuildTarget(java.lang.String target)
           
 void setCommand(java.lang.String cmd)
          Sets the build command for the receiver to the value in the argument.
 void setConvertToId(java.lang.String convertToId)
          Sets the 'convertToId' attribute of the builder.
 void setCustomizedErrorParserIds(java.lang.String[] ids)
           
 void setDirty(boolean isDirty)
          Sets the element's "dirty" (have I been modified?)
 void setEnvironment(java.util.Map env)
           
 void setErrorParserIds(java.lang.String ids)
          Sets the semicolon separated list of error parser ids
 void setErrorParserList(java.lang.String[] ids)
           
 void setErrorParsers(java.lang.String[] parsers)
           
 void setFullBuildEnable(boolean enabled)
           
 void setFullBuildTarget(java.lang.String target)
           
 void setIdenticalList(java.util.List list)
           
 void setIncrementalBuildEnable(boolean enabled)
           
 void setIncrementalBuildTarget(java.lang.String target)
           
 void setIsAbstract(boolean b)
          Sets the isAbstract attribute of the builder.
 void setKeepEnvironmentVariablesInBuildfile(boolean keep)
           
 void setManagedBuildOn(boolean on)
           
 void setOutputEntries(org.eclipse.cdt.core.settings.model.ICOutputEntry[] entries)
           
 void setParallelBuildOn(boolean on)
           
 void setParallelizationNum(int num)
           
 void setParent(IToolChain toolChain)
           
 void setStopOnError(boolean on)
           
 void setUseDefaultBuildCmd(boolean on)
           
 void setVersionsSupported(java.lang.String versionsSupported)
          Sets the 'versionsSupported' attribute of the builder.
 boolean supportsBuild(boolean managed)
           
 boolean supportsCustomizedBuild()
           
 boolean supportsParallelBuild()
           
 boolean supportsStopOnError(boolean on)
           
static java.lang.String[] toBuildAttributes(java.lang.String name)
           
static java.lang.String toBuilderAttribute(java.lang.String name)
           
 
Methods inherited from class org.eclipse.cdt.managedbuilder.internal.core.BuildObject
getBaseId, getId, getManagedBuildRevision, getVersion, getVersionFromId, setId, setManagedBuildRevision, setName, setVersion, toString, updateManagedBuildRevision
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
getBaseId, getId, getManagedBuildRevision, getVersion, setVersion
 

Constructor Detail

Builder

public Builder(IToolChain parent,
               IManagedConfigElement element,
               java.lang.String managedBuildRevision)
This constructor is called to create a builder defined by an extension point in a plugin manifest file, or returned by a dynamic element provider

Parameters:
parent - The IToolChain parent of this builder, or null if defined at the top level
element - The builder definition from the manifest file or a dynamic element provider
managedBuildRevision - The fileVersion of Managed Buid System

Builder

public Builder(ToolChain parent,
               IBuilder superClass,
               java.lang.String Id,
               java.lang.String name,
               boolean isExtensionElement)
This constructor is called to create a Builder whose attributes and children will be added by separate calls.

Parameters:
ToolChain - The parent of the builder, if any
Builder - The superClass, if any
String - The id for the new Builder
String - The name for the new Builder
boolean - Indicates whether this is an extension element or a managed project element

Builder

public Builder(IToolChain parent,
               org.eclipse.cdt.core.settings.model.ICStorageElement element,
               java.lang.String managedBuildRevision)
Create a Builder based on the specification stored in the project file (.cdtbuild).

Parameters:
parent - The IToolChain the Builder will be added to.
element - The XML element that contains the Builder settings.
managedBuildRevision - The fileVersion of Managed Buid System

Builder

public Builder(IToolChain parent,
               java.lang.String Id,
               java.lang.String name,
               Builder builder)
Create a Builder based upon an existing builder.

Parameters:
parent - The IToolChain the builder will be added to.
builder - The existing builder to clone.
Method Detail

copySettings

public void copySettings(Builder builder,
                         boolean allBuildSettings)

serialize

public void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)

serialize

public void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element,
                      boolean resetDirtyState)
Persist the builder to the project file.

Parameters:
doc -
element -

serializeRawData

public void serializeRawData(org.eclipse.cdt.core.settings.model.ICStorageElement element)

getParent

public IToolChain getParent()
Description copied from interface: IBuilder
Returns the tool-chain that is the parent of this builder.

Specified by:
getParent in interface IBuilder
Returns:
IToolChain

getSuperClass

public IBuilder getSuperClass()
Description copied from interface: IBuilder
Returns the IBuilder that is the superclass of this target platform, or null if the attribute was not specified.

Specified by:
getSuperClass in interface IBuilder
Returns:
IBuilder

getName

public java.lang.String getName()
Specified by:
getName in interface IBuildObject
Overrides:
getName in class BuildObject

isAbstract

public boolean isAbstract()
Description copied from interface: IBuilder
Returns whether this element is abstract. Returns false if the attribute was not specified.

Specified by:
isAbstract in interface IBuilder
Returns:
boolean

getUnusedChildren

public java.lang.String getUnusedChildren()
Description copied from interface: IBuilder
Returns a semi-colon delimited list of child Ids of the superclass' children that should not be automatically inherited by this element. Returns an empty string if the attribute was not specified.

Specified by:
getUnusedChildren in interface IBuilder
Returns:
String

getCommand

public java.lang.String getCommand()
Description copied from interface: IBuilder
Returns the name of the build/make utility for the configuration.

Specified by:
getCommand in interface IBuilder
Returns:
String

getArguments

public java.lang.String getArguments()
Description copied from interface: IBuilder
Returns the command line arguments to pass to the build/make utility used to build a configuration.

Specified by:
getArguments in interface IBuilder
Returns:
String

getParallelizationCmd

public java.lang.String getParallelizationCmd(int num)

getArgumentsAttribute

public java.lang.String getArgumentsAttribute()

getErrorParserIds

public java.lang.String getErrorParserIds()
Description copied from interface: IBuilder
Returns the semicolon separated list of unique IDs of the error parsers associated with the builder.

Specified by:
getErrorParserIds in interface IBuilder
Returns:
String

getErrorParserList

public java.lang.String[] getErrorParserList()
Description copied from interface: IBuilder
Returns the ordered list of unique IDs of the error parsers associated with the builder.

Specified by:
getErrorParserList in interface IBuilder
Returns:
String[]

setCommand

public void setCommand(java.lang.String cmd)
Description copied from interface: IBuilder
Sets the build command for the receiver to the value in the argument.

Specified by:
setCommand in interface IBuilder

setArguments

public void setArguments(java.lang.String newArgs)
Description copied from interface: IBuilder
Sets the arguments to be passed to the build utility used by the receiver to produce a build goal.

Specified by:
setArguments in interface IBuilder

setArgumentsAttribute

public void setArgumentsAttribute(java.lang.String newArgs)

setErrorParserIds

public void setErrorParserIds(java.lang.String ids)
Description copied from interface: IBuilder
Sets the semicolon separated list of error parser ids

Specified by:
setErrorParserIds in interface IBuilder

setIsAbstract

public void setIsAbstract(boolean b)
Description copied from interface: IBuilder
Sets the isAbstract attribute of the builder.

Specified by:
setIsAbstract in interface IBuilder

getBuildFileGeneratorElement

public org.eclipse.core.runtime.IConfigurationElement getBuildFileGeneratorElement()
Description copied from interface: IBuilder
Returns the plugin.xml element of the buildFileGenerator extension or null if none.

Specified by:
getBuildFileGeneratorElement in interface IBuilder
Returns:
IConfigurationElement

getBuildFileGenerator

public IManagedBuilderMakefileGenerator getBuildFileGenerator()
Description copied from interface: IBuilder
Returns the BuildfileGenerator used to generate buildfiles for this builder

Specified by:
getBuildFileGenerator in interface IBuilder
Returns:
IManagedBuilderMakefileGenerator

setBuildFileGeneratorElement

public void setBuildFileGeneratorElement(org.eclipse.core.runtime.IConfigurationElement element)
Description copied from interface: IBuilder
Sets the BuildFileGenerator plugin.xml element

Specified by:
setBuildFileGeneratorElement in interface IBuilder

isExtensionElement

public boolean isExtensionElement()
Description copied from interface: IBuilder
Returns true if this builder was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.

Specified by:
isExtensionElement in interface IBuilder
Returns:
boolean

isDirty

public boolean isDirty()
Description copied from interface: IBuilder
Returns true if this element has changes that need to be saved in the project file, else false.

Specified by:
isDirty in interface IBuilder
Returns:
boolean

setDirty

public void setDirty(boolean isDirty)
Description copied from interface: IBuilder
Sets the element's "dirty" (have I been modified?) flag.

Specified by:
setDirty in interface IBuilder

resolveReferences

public void resolveReferences()

getConvertToId

public java.lang.String getConvertToId()
Description copied from interface: IBuilder
Returns the 'convertToId' of this builder

Specified by:
getConvertToId in interface IBuilder
Returns:
String

setConvertToId

public void setConvertToId(java.lang.String convertToId)
Description copied from interface: IBuilder
Sets the 'convertToId' attribute of the builder.

Specified by:
setConvertToId in interface IBuilder

getVersionsSupported

public java.lang.String getVersionsSupported()
Description copied from interface: IBuilder
Returns the 'versionsSupported' of this builder

Specified by:
getVersionsSupported in interface IBuilder
Returns:
String

setVersionsSupported

public void setVersionsSupported(java.lang.String versionsSupported)
Description copied from interface: IBuilder
Sets the 'versionsSupported' attribute of the builder.

Specified by:
setVersionsSupported in interface IBuilder

getFileContextBuildMacroValues

public IFileContextBuildMacroValues getFileContextBuildMacroValues()
Description copied from interface: IBuilder
Returns the IFileContextBuildMacroValues interface reference that specifies the file-context macro-values provided by the tool-integrator

Specified by:
getFileContextBuildMacroValues in interface IBuilder
Returns:
IFileContextBuildMacroValues

getBuilderVariablePattern

public java.lang.String getBuilderVariablePattern()
Description copied from interface: IBuilder
Returns String representing the build variable pattern to be used while makefile generation

Specified by:
getBuilderVariablePattern in interface IBuilder
Returns:
String

isVariableCaseSensitive

public boolean isVariableCaseSensitive()
Description copied from interface: IBuilder
Returns whether the builder supports case sensitive variables or not

Specified by:
isVariableCaseSensitive in interface IBuilder
Returns:
boolean

getReservedMacroNames

public java.lang.String[] getReservedMacroNames()
Description copied from interface: IBuilder
Returns an array of Strings representing the patterns of the builder/buildfile-generator reserved variables

Specified by:
getReservedMacroNames in interface IBuilder
Returns:
String[]

getReservedMacroNameSupplier

public IReservedMacroNameSupplier getReservedMacroNameSupplier()
Description copied from interface: IBuilder
Returns the tool-integrator defined implementation of the IReservedMacroNameSupplier to be used for detecting the builder/buildfile-generator reserved variables

Specified by:
getReservedMacroNameSupplier in interface IBuilder
Returns:
IReservedMacroNameSupplier

checkForMigrationSupport

public void checkForMigrationSupport()

getPreviousMbsVersionConversionElement

public org.eclipse.core.runtime.IConfigurationElement getPreviousMbsVersionConversionElement()

getCurrentMbsVersionConversionElement

public org.eclipse.core.runtime.IConfigurationElement getCurrentMbsVersionConversionElement()

getBuildData

public org.eclipse.cdt.core.settings.model.extension.CBuildData getBuildData()
Specified by:
getBuildData in interface IBuilder

getErrorParsers

public java.lang.String[] getErrorParsers()
Specified by:
getErrorParsers in interface IMakeCommonBuildInfo

getCustomizedErrorParserIds

public java.lang.String[] getCustomizedErrorParserIds()

setCustomizedErrorParserIds

public void setCustomizedErrorParserIds(java.lang.String[] ids)

setErrorParsers

public void setErrorParsers(java.lang.String[] parsers)
                     throws org.eclipse.core.runtime.CoreException
Specified by:
setErrorParsers in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

getBuildArguments

public java.lang.String getBuildArguments()
Specified by:
getBuildArguments in interface IMakeCommonBuildInfo

getBuildCommand

public org.eclipse.core.runtime.IPath getBuildCommand()
Specified by:
getBuildCommand in interface IMakeCommonBuildInfo

getBuildPathAttribute

public java.lang.String getBuildPathAttribute()

getBuildPathAttribute

public java.lang.String getBuildPathAttribute(boolean querySuperClass)

setBuildPath

public void setBuildPath(java.lang.String path)
Specified by:
setBuildPath in interface IBuilder

setBuildPathAttribute

public void setBuildPathAttribute(java.lang.String path)

getBuildPath

public java.lang.String getBuildPath()
Specified by:
getBuildPath in interface IBuilder

getDefaultBuildPath

public java.lang.String getDefaultBuildPath()

getBuildLocation

public org.eclipse.core.runtime.IPath getBuildLocation()
Specified by:
getBuildLocation in interface IMakeCommonBuildInfo

isDefaultBuildCmd

public boolean isDefaultBuildCmd()
Specified by:
isDefaultBuildCmd in interface IMakeCommonBuildInfo

isStopOnError

public boolean isStopOnError()
Specified by:
isStopOnError in interface IMakeCommonBuildInfo

setBuildArguments

public void setBuildArguments(java.lang.String args)
                       throws org.eclipse.core.runtime.CoreException
Specified by:
setBuildArguments in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setBuildCommand

public void setBuildCommand(org.eclipse.core.runtime.IPath command)
                     throws org.eclipse.core.runtime.CoreException
Specified by:
setBuildCommand in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setBuildLocation

public void setBuildLocation(org.eclipse.core.runtime.IPath location)
                      throws org.eclipse.core.runtime.CoreException
Specified by:
setBuildLocation in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setStopOnError

public void setStopOnError(boolean on)
                    throws org.eclipse.core.runtime.CoreException
Specified by:
setStopOnError in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setUseDefaultBuildCmd

public void setUseDefaultBuildCmd(boolean on)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setUseDefaultBuildCmd in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

getAutoBuildTargetAttribute

public java.lang.String getAutoBuildTargetAttribute()

getAutoBuildTarget

public java.lang.String getAutoBuildTarget()
Specified by:
getAutoBuildTarget in interface IMakeBuilderInfo

getCleanBuildTargetAttribute

public java.lang.String getCleanBuildTargetAttribute()

getCleanBuildTarget

public java.lang.String getCleanBuildTarget()
Specified by:
getCleanBuildTarget in interface IMakeBuilderInfo

getFullBuildTarget

public java.lang.String getFullBuildTarget()
Specified by:
getFullBuildTarget in interface IMakeBuilderInfo

getIncrementalBuildTargetAttribute

public java.lang.String getIncrementalBuildTargetAttribute()

getIncrementalBuildTarget

public java.lang.String getIncrementalBuildTarget()
Specified by:
getIncrementalBuildTarget in interface IMakeBuilderInfo

isAutoBuildEnable

public boolean isAutoBuildEnable()
Specified by:
isAutoBuildEnable in interface IMakeBuilderInfo

isCleanBuildEnabled

public boolean isCleanBuildEnabled()
Specified by:
isCleanBuildEnabled in interface IMakeBuilderInfo

isFullBuildEnabled

public boolean isFullBuildEnabled()
Specified by:
isFullBuildEnabled in interface IMakeBuilderInfo

isIncrementalBuildEnabled

public boolean isIncrementalBuildEnabled()
Specified by:
isIncrementalBuildEnabled in interface IMakeBuilderInfo

setAutoBuildEnable

public void setAutoBuildEnable(boolean enabled)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
setAutoBuildEnable in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setAutoBuildTarget

public void setAutoBuildTarget(java.lang.String target)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
setAutoBuildTarget in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setCleanBuildEnable

public void setCleanBuildEnable(boolean enabled)
                         throws org.eclipse.core.runtime.CoreException
Specified by:
setCleanBuildEnable in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setCleanBuildTarget

public void setCleanBuildTarget(java.lang.String target)
                         throws org.eclipse.core.runtime.CoreException
Specified by:
setCleanBuildTarget in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setFullBuildEnable

public void setFullBuildEnable(boolean enabled)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
setFullBuildEnable in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setFullBuildTarget

public void setFullBuildTarget(java.lang.String target)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
setFullBuildTarget in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setIncrementalBuildEnable

public void setIncrementalBuildEnable(boolean enabled)
                               throws org.eclipse.core.runtime.CoreException
Specified by:
setIncrementalBuildEnable in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

setIncrementalBuildTarget

public void setIncrementalBuildTarget(java.lang.String target)
                               throws org.eclipse.core.runtime.CoreException
Specified by:
setIncrementalBuildTarget in interface IMakeBuilderInfo
Throws:
org.eclipse.core.runtime.CoreException

appendEnvironment

public boolean appendEnvironment()
Specified by:
appendEnvironment in interface IMakeCommonBuildInfo

getBuildAttribute

public java.lang.String getBuildAttribute(java.lang.String name,
                                          java.lang.String defaultValue)
Specified by:
getBuildAttribute in interface IMakeCommonBuildInfo

toBuildAttributes

public static java.lang.String[] toBuildAttributes(java.lang.String name)

toBuilderAttribute

public static java.lang.String toBuilderAttribute(java.lang.String name)

getEnvironment

public java.util.Map getEnvironment()
Specified by:
getEnvironment in interface IMakeCommonBuildInfo

getExpandedEnvironment

public java.util.Map getExpandedEnvironment()
                                     throws org.eclipse.core.runtime.CoreException
Specified by:
getExpandedEnvironment in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setAppendEnvironment

public void setAppendEnvironment(boolean append)
                          throws org.eclipse.core.runtime.CoreException
Specified by:
setAppendEnvironment in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setBuildAttribute

public void setBuildAttribute(java.lang.String name,
                              java.lang.String value)
                       throws org.eclipse.core.runtime.CoreException
Specified by:
setBuildAttribute in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

setEnvironment

public void setEnvironment(java.util.Map env)
                    throws org.eclipse.core.runtime.CoreException
Specified by:
setEnvironment in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

isCustomBuilder

public boolean isCustomBuilder()
Specified by:
isCustomBuilder in interface IBuilder

getConfguration

public IConfiguration getConfguration()

isManagedBuildOn

public boolean isManagedBuildOn()
Specified by:
isManagedBuildOn in interface IMakeCommonBuildInfo

getManagedBuildOnAttribute

public java.lang.Boolean getManagedBuildOnAttribute()

setManagedBuildOn

public void setManagedBuildOn(boolean on)
                       throws org.eclipse.core.runtime.CoreException
Specified by:
setManagedBuildOn in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

canKeepEnvironmentVariablesInBuildfile

public boolean canKeepEnvironmentVariablesInBuildfile()
Specified by:
canKeepEnvironmentVariablesInBuildfile in interface IBuilder

keepEnvironmentVariablesInBuildfile

public boolean keepEnvironmentVariablesInBuildfile()
Specified by:
keepEnvironmentVariablesInBuildfile in interface IBuilder

setKeepEnvironmentVariablesInBuildfile

public void setKeepEnvironmentVariablesInBuildfile(boolean keep)
Specified by:
setKeepEnvironmentVariablesInBuildfile in interface IBuilder

supportsCustomizedBuild

public boolean supportsCustomizedBuild()
Specified by:
supportsCustomizedBuild in interface IBuilder

supportsBuild

public boolean supportsBuild(boolean managed)
Specified by:
supportsBuild in interface IMakeCommonBuildInfo

setParent

public void setParent(IToolChain toolChain)

matches

public boolean matches(IBuilder builder)
Specified by:
matches in interface IBuilder

performMatchComparison

public boolean performMatchComparison(IBuilder builder)

getMatchKey

public java.lang.Object getMatchKey()
Specified by:
getMatchKey in interface IMatchKeyProvider

setIdenticalList

public void setIdenticalList(java.util.List list)
Specified by:
setIdenticalList in interface IMatchKeyProvider

getNameAndVersion

public java.lang.String getNameAndVersion()

getIdenticalList

public java.util.List getIdenticalList()
Specified by:
getIdenticalList in interface IMatchKeyProvider

isInternalBuilder

public boolean isInternalBuilder()
Specified by:
isInternalBuilder in interface IBuilder

getParallelizationNum

public int getParallelizationNum()
Specified by:
getParallelizationNum in interface IMakeCommonBuildInfo

getParallelizationNumAttribute

public int getParallelizationNumAttribute()

setParallelizationNum

public void setParallelizationNum(int num)
                           throws org.eclipse.core.runtime.CoreException
Specified by:
setParallelizationNum in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

supportsParallelBuild

public boolean supportsParallelBuild()
Specified by:
supportsParallelBuild in interface IMakeCommonBuildInfo

supportsStopOnError

public boolean supportsStopOnError(boolean on)
Specified by:
supportsStopOnError in interface IMakeCommonBuildInfo

getStopOnErrCmd

public java.lang.String getStopOnErrCmd(boolean stop)

getIgnoreErrCmdAttribute

public java.lang.String getIgnoreErrCmdAttribute()

getParrallelBuildCmd

public java.lang.String getParrallelBuildCmd()

isParallelBuildOn

public boolean isParallelBuildOn()
Specified by:
isParallelBuildOn in interface IMakeCommonBuildInfo

setParallelBuildOn

public void setParallelBuildOn(boolean on)
                        throws org.eclipse.core.runtime.CoreException
Specified by:
setParallelBuildOn in interface IMakeCommonBuildInfo
Throws:
org.eclipse.core.runtime.CoreException

contributeErrorParsers

public java.util.Set contributeErrorParsers(java.util.Set set)

resetErrorParsers

public void resetErrorParsers()

setErrorParserList

public void setErrorParserList(java.lang.String[] ids)

isSystemObject

public boolean isSystemObject()
Specified by:
isSystemObject in interface IBuilder

getUniqueRealName

public java.lang.String getUniqueRealName()
Specified by:
getUniqueRealName in interface IBuilder

getOutputEntries

public org.eclipse.cdt.core.settings.model.ICOutputEntry[] getOutputEntries()

getOutputEntrySettings

public org.eclipse.cdt.core.settings.model.ICOutputEntry[] getOutputEntrySettings()

setOutputEntries

public void setOutputEntries(org.eclipse.cdt.core.settings.model.ICOutputEntry[] entries)

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable