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

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.core.BuildObject
      extended by org.eclipse.cdt.managedbuilder.internal.core.InputType
All Implemented Interfaces:
IBuildObject, IInputType

public class InputType
extends BuildObject
implements IInputType


Field Summary
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IInputType
ASSIGN_TO_OPTION, BUILD_VARIABLE, DEPENDENCY_CONTENT_TYPE, DEPENDENCY_EXTENSIONS, HEADER_CONTENT_TYPE, HEADERS, INPUT_TYPE_ELEMENT_NAME, LANGUAGE_ID, LANGUAGE_INFO_CALCULATOR, LANGUAGE_NAME, MULTIPLE_OF_TYPE, OPTION, PRIMARY_INPUT, SCANNER_CONFIG_PROFILE_ID, SOURCE_CONTENT_TYPE, SOURCES
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.core.IBuildObject
ID, NAME
 
Constructor Summary
InputType(ITool parent, org.eclipse.cdt.core.settings.model.ICStorageElement element)
          Create an InputType based on the specification stored in the project file (.cdtbuild).
InputType(ITool parent, IManagedConfigElement element)
          This constructor is called to create an InputType defined by an extension point in a plugin manifest file, or returned by a dynamic element provider
InputType(ITool parent, java.lang.String Id, java.lang.String name, InputType inputType)
          Create an InputType based upon an existing InputType.
InputType(Tool parent, IInputType superClass, java.lang.String Id, java.lang.String name, boolean isExtensionElement)
          This constructor is called to create an InputType whose attributes and children will be added by separate calls.
 
Method Summary
 IAdditionalInput createAdditionalInput(java.lang.String paths)
          Creates an additionalInput child for this InputType.
 IInputOrder createInputOrder(java.lang.String path)
          Creates an inputOrder child for this InputType.
 org.eclipse.core.runtime.IPath[] getAdditionalDependencies()
          Returns all of the additional dependency resources of this InputType.
 IAdditionalInput getAdditionalInput(java.lang.String paths)
          Returns the AdditionalInput element with the path specified in the argument.
 IAdditionalInput[] getAdditionalInputs()
          Returns all of the AdditionalInput children of this InputType
 org.eclipse.core.runtime.IPath[] getAdditionalResources()
          Returns all of the additional input resources of this InputType.
 java.lang.String getAssignToOptionId()
          Returns the id of the option whose value is to be assigned to the file(s) calculated for this input type.
 BooleanExpressionApplicabilityCalculator getBooleanExpressionCalculator()
           
 java.lang.String getBuildVariable()
          Returns the name of the build variable associated this this input type's resources The build variable used in the build file to represent the list of input files when multipleOfType is True.
 org.eclipse.core.runtime.content.IContentType getDependencyContentType()
          Returns the Eclipse IContentType that describes the dependency files of this input type.
 java.lang.String[] getDependencyExtensions(ITool tool)
          Returns the list of valid dependency extensions for this input type.
 java.lang.String[] getDependencyExtensionsAttribute()
          Returns the list of valid dependency extensions from the dependencyExtensions attribute.
 IManagedDependencyGeneratorType getDependencyGenerator()
          Returns a class instance that implements an interface to generate source-level dependencies for this input type.
 org.eclipse.core.runtime.IConfigurationElement getDependencyGeneratorElement()
           
 java.lang.String getDiscoveryProfileId(ITool tool)
           
 java.lang.String getDiscoveryProfileIdAttribute()
           
 java.lang.String[] getHeaderContentTypeIds()
           
 org.eclipse.core.runtime.content.IContentType[] getHeaderContentTypes()
           
 java.lang.String[] getHeaderExtensions(ITool tool)
           
 java.lang.String[] getHeaderExtensionsAttribute()
           
 IInputOrder getInputOrder(java.lang.String path)
          Returns the InputOrder element with the path specified in the argument.
 IInputOrder[] getInputOrders()
          Returns all of the InputOrder children of this InputType
 java.lang.String getLanguageId(ITool tool)
           
 java.lang.String getLanguageIdAttribute()
           
 java.lang.String getLanguageName(ITool tool)
           
 java.lang.String getLanguageNameAttribute()
           
 java.lang.String getManagedBuildRevision()
           
 boolean getMultipleOfType()
          Returns true if this inputType can contain multiple input resources, else false.
 java.lang.String getName()
           
 java.lang.String getOptionId()
          Returns the id of the option that is associated with this input type on the command line.
 ITool getParent()
          Returns the tool parent of this InputType.
 boolean getPrimaryInput()
          Returns true if this inputType is considered the primary input of the tool, else false.
 IResourceInfo getRcInfo(ITool tool)
           
 org.eclipse.core.runtime.content.IContentType getSourceContentType()
          Returns the Eclipse IContentType that describes this input type.
 java.lang.String[] getSourceContentTypeIds()
           
 org.eclipse.core.runtime.content.IContentType[] getSourceContentTypes()
           
 java.lang.String[] getSourceExtensions(ITool tool)
          Returns the list of valid source extensions for this input type.
 java.lang.String[] getSourceExtensions(ITool tool, org.eclipse.core.resources.IProject project)
           
 java.lang.String[] getSourceExtensionsAttribute()
          Returns the list of valid source extensions from the sourceExtensions attribute.
 IInputType getSuperClass()
          Returns the IInputType that is the superclass of this InputType, or null if the attribute was not specified.
 org.eclipse.core.runtime.PluginVersionIdentifier getVersion()
           
 boolean hasCustomSettings()
           
 boolean hasScannerConfigSettings()
           
 boolean isDependencyExtension(ITool tool, java.lang.String ext)
          Answers true if the input type considers the file extension to be one associated with a dependency file.
 boolean isDirty()
          Returns true if this element has changes that need to be saved in the project file, else false.
 boolean isEnabled(ITool tool)
           
 boolean isExtensionElement()
          Returns true if this InputType was loaded from a manifest file, and false if it was loaded from a project (.cdtbuild) file.
 boolean isSourceExtension(ITool tool, java.lang.String ext)
          Answers true if the input type considers the file extension to be one associated with a source file.
 boolean needsRebuild()
           
 void removeAdditionalInput(IAdditionalInput element)
          Removes the AdditionalInput element specified in the argument.
 void removeAdditionalInput(java.lang.String path)
          Removes the AdditionalInput element with the path specified in the argument.
 void removeInputOrder(IInputOrder element)
          Removes the InputOrder element specified in the argument.
 void removeInputOrder(java.lang.String path)
          Removes the InputOrder element with the path specified in the argument.
 void resolveReferences()
           
 void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)
          Persist the InputType to the project file.
 void setAssignToOptionId(java.lang.String id)
          Sets the id of the option whose value is to be assigned to the file(s) calculated for this input type.
 void setBuildVariable(java.lang.String variableName)
          Sets the name of the build variable associated this this input type's resources
 void setDependencyContentType(org.eclipse.core.runtime.content.IContentType type)
          Sets the Eclipse IContentType that describes the dependency files of this input type.
 void setDependencyExtensionsAttribute(java.lang.String extensions)
          Sets the list of valid dependency extensions for this input type.
 void setDependencyGeneratorElement(org.eclipse.core.runtime.IConfigurationElement element)
           
 void setDirty(boolean isDirty)
          Sets the element's "dirty" (have I been modified?)
 void setHeaderContentTypeIds(java.lang.String[] ids)
           
 void setHeaderExtensionsAttribute(java.lang.String[] extensions)
           
 void setLanguageIdAttribute(java.lang.String id)
           
 void setLanguageNameAttribute(java.lang.String name)
           
 void setMultipleOfType(boolean b)
          Sets whether this inputType can contain multiple input resources
 void setOptionId(java.lang.String id)
          Sets the id of the option that is associated with this input type on the command line.
 void setPrimaryInput(boolean b)
          Sets whether this inputType is considered the primary input of the tool
 void setRebuildState(boolean rebuild)
           
 void setSourceContentType(org.eclipse.core.runtime.content.IContentType type)
          Sets the Eclipse IContentType that describes this input type.
 void setSourceContentTypeIds(java.lang.String[] ids)
           
 void setSourceContentTypes(org.eclipse.core.runtime.content.IContentType[] types)
           
 void setSourceExtensionsAttribute(java.lang.String extensions)
          Sets the list of valid source extensions for this input type.
 void setSourceExtensionsAttribute(java.lang.String[] extensions)
           
 void setVersion(org.eclipse.core.runtime.PluginVersionIdentifier version)
           
 
Methods inherited from class org.eclipse.cdt.managedbuilder.internal.core.BuildObject
getBaseId, getId, getVersionFromId, setId, setManagedBuildRevision, setName, 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
 

Constructor Detail

InputType

public InputType(ITool parent,
                 IManagedConfigElement element)
This constructor is called to create an InputType defined by an extension point in a plugin manifest file, or returned by a dynamic element provider

Parameters:
parent - The ITool parent of this InputType
element - The InputType definition from the manifest file or a dynamic element provider

InputType

public InputType(Tool parent,
                 IInputType superClass,
                 java.lang.String Id,
                 java.lang.String name,
                 boolean isExtensionElement)
This constructor is called to create an InputType whose attributes and children will be added by separate calls.

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

InputType

public InputType(ITool parent,
                 org.eclipse.cdt.core.settings.model.ICStorageElement element)
Create an InputType based on the specification stored in the project file (.cdtbuild).

Parameters:
parent - The ITool the InputType will be added to.
element - The XML element that contains the InputType settings.

InputType

public InputType(ITool parent,
                 java.lang.String Id,
                 java.lang.String name,
                 InputType inputType)
Create an InputType based upon an existing InputType.

Parameters:
parent - The ITool the InputType will be added to.
Id - The identifier of the new InputType
name - The name of the new InputType
inputType - The existing InputType to clone.
Method Detail

serialize

public void serialize(org.eclipse.cdt.core.settings.model.ICStorageElement element)
Persist the InputType to the project file.

Parameters:
doc -
element -

getParent

public ITool getParent()
Description copied from interface: IInputType
Returns the tool parent of this InputType.

Specified by:
getParent in interface IInputType
Returns:
ITool

createInputOrder

public IInputOrder createInputOrder(java.lang.String path)
Description copied from interface: IInputType
Creates an inputOrder child for this InputType.

Specified by:
createInputOrder in interface IInputType
Parameters:
path - The path associated with the InputOrder element
Returns:
IInputOrder of the new element

getInputOrders

public IInputOrder[] getInputOrders()
Description copied from interface: IInputType
Returns all of the InputOrder children of this InputType

Specified by:
getInputOrders in interface IInputType
Returns:
IInputOrder[]

getInputOrder

public IInputOrder getInputOrder(java.lang.String path)
Description copied from interface: IInputType
Returns the InputOrder element with the path specified in the argument.

Specified by:
getInputOrder in interface IInputType
Parameters:
path - The path associated with the InputOrder element
Returns:
IInputOrder

removeInputOrder

public void removeInputOrder(java.lang.String path)
Description copied from interface: IInputType
Removes the InputOrder element with the path specified in the argument.

Specified by:
removeInputOrder in interface IInputType
Parameters:
path - The path associated with the InputOrder element

removeInputOrder

public void removeInputOrder(IInputOrder element)
Description copied from interface: IInputType
Removes the InputOrder element specified in the argument.

Specified by:
removeInputOrder in interface IInputType

createAdditionalInput

public IAdditionalInput createAdditionalInput(java.lang.String paths)
Description copied from interface: IInputType
Creates an additionalInput child for this InputType.

Specified by:
createAdditionalInput in interface IInputType
Parameters:
paths - The path associated with the AdditionalInput element
Returns:
IAdditionalInput of the new element

getAdditionalInputs

public IAdditionalInput[] getAdditionalInputs()
Description copied from interface: IInputType
Returns all of the AdditionalInput children of this InputType

Specified by:
getAdditionalInputs in interface IInputType
Returns:
IAdditionalInput[]

getAdditionalInput

public IAdditionalInput getAdditionalInput(java.lang.String paths)
Description copied from interface: IInputType
Returns the AdditionalInput element with the path specified in the argument.

Specified by:
getAdditionalInput in interface IInputType
Parameters:
paths - The path associated with the AdditionalInput element
Returns:
IAdditionalInput

removeAdditionalInput

public void removeAdditionalInput(java.lang.String path)
Description copied from interface: IInputType
Removes the AdditionalInput element with the path specified in the argument.

Specified by:
removeAdditionalInput in interface IInputType
Parameters:
path - The path associated with the AdditionalInput element

removeAdditionalInput

public void removeAdditionalInput(IAdditionalInput element)
Description copied from interface: IInputType
Removes the AdditionalInput element specified in the argument.

Specified by:
removeAdditionalInput in interface IInputType
Parameters:
element - The AdditionalInput element

getAdditionalDependencies

public org.eclipse.core.runtime.IPath[] getAdditionalDependencies()
Description copied from interface: IInputType
Returns all of the additional dependency resources of this InputType. Note: This does not include additional inputs.

Specified by:
getAdditionalDependencies in interface IInputType
Returns:
IPath[]

getAdditionalResources

public org.eclipse.core.runtime.IPath[] getAdditionalResources()
Description copied from interface: IInputType
Returns all of the additional input resources of this InputType. Note: This does not include additional dependencies.

Specified by:
getAdditionalResources in interface IInputType
Returns:
IPath[]

getSuperClass

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

Specified by:
getSuperClass in interface IInputType
Returns:
IInputType

getName

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

getBuildVariable

public java.lang.String getBuildVariable()
Description copied from interface: IInputType
Returns the name of the build variable associated this this input type's resources The build variable used in the build file to represent the list of input files when multipleOfType is True. The same variable name can be used by an outputType to identify a set of output files that contribute to this tool�s input (i.e., those using the same buildVariable name). The default name is chosen by MBS.

Specified by:
getBuildVariable in interface IInputType
Returns:
String

setBuildVariable

public void setBuildVariable(java.lang.String variableName)
Description copied from interface: IInputType
Sets the name of the build variable associated this this input type's resources

Specified by:
setBuildVariable in interface IInputType

getDependencyContentType

public org.eclipse.core.runtime.content.IContentType getDependencyContentType()
Description copied from interface: IInputType
Returns the Eclipse IContentType that describes the dependency files of this input type. If both the dependencyExtensions attribute and the dependencyContentType attribute are specified, the dependencyContentType will be used if it is defined in Eclipse.

Specified by:
getDependencyContentType in interface IInputType
Returns:
IContentType

setDependencyContentType

public void setDependencyContentType(org.eclipse.core.runtime.content.IContentType type)
Description copied from interface: IInputType
Sets the Eclipse IContentType that describes the dependency files of this input type.

Specified by:
setDependencyContentType in interface IInputType

getDependencyExtensionsAttribute

public java.lang.String[] getDependencyExtensionsAttribute()
Description copied from interface: IInputType
Returns the list of valid dependency extensions from the dependencyExtensions attribute. Note that this value is not used if dependency content type is specified and registered with Eclipse. Also, the user will not be able to modify the set of file extensions as they can when dependencyContentType is specified.

Specified by:
getDependencyExtensionsAttribute in interface IInputType
Returns:
String[]

setDependencyExtensionsAttribute

public void setDependencyExtensionsAttribute(java.lang.String extensions)
Description copied from interface: IInputType
Sets the list of valid dependency extensions for this input type. NOTE: The value of this attribute will NOT be used if a dependency content type is specified and is registered with Eclipse.

Specified by:
setDependencyExtensionsAttribute in interface IInputType
Parameters:
extensions - The comma-separated list of valid dependency extensions - not including the separator period.

getDependencyExtensions

public java.lang.String[] getDependencyExtensions(ITool tool)
Description copied from interface: IInputType
Returns the list of valid dependency extensions for this input type. Note that the list will come from the dependencyContentType if it is specified and registered with Eclipse. Otherwise the dependencyExtensions attribute will be used.

Specified by:
getDependencyExtensions in interface IInputType
Parameters:
tool - the tool that contains the input-type
Returns:
String[]

isDependencyExtension

public boolean isDependencyExtension(ITool tool,
                                     java.lang.String ext)
Description copied from interface: IInputType
Answers true if the input type considers the file extension to be one associated with a dependency file.

Specified by:
isDependencyExtension in interface IInputType
Parameters:
tool - the tool that contains the input-type
ext - file extension of the source
Returns:
boolean

getDependencyGenerator

public IManagedDependencyGeneratorType getDependencyGenerator()
Description copied from interface: IInputType
Returns a class instance that implements an interface to generate source-level dependencies for this input type. This method may return null in which case, the receiver should assume that the input type does not require dependency information when the project is built.

Specified by:
getDependencyGenerator in interface IInputType
Returns:
IManagedDependencyGeneratorType

getDependencyGeneratorElement

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

setDependencyGeneratorElement

public void setDependencyGeneratorElement(org.eclipse.core.runtime.IConfigurationElement element)

getMultipleOfType

public boolean getMultipleOfType()
Description copied from interface: IInputType
Returns true if this inputType can contain multiple input resources, else false. The inputs can be project resources, or the outputs of other tools in the tool-chain.

Specified by:
getMultipleOfType in interface IInputType
Returns:
boolean

setMultipleOfType

public void setMultipleOfType(boolean b)
Description copied from interface: IInputType
Sets whether this inputType can contain multiple input resources

Specified by:
setMultipleOfType in interface IInputType

getPrimaryInput

public boolean getPrimaryInput()
Description copied from interface: IInputType
Returns true if this inputType is considered the primary input of the tool, else false.

Specified by:
getPrimaryInput in interface IInputType
Returns:
boolean

setPrimaryInput

public void setPrimaryInput(boolean b)
Description copied from interface: IInputType
Sets whether this inputType is considered the primary input of the tool

Specified by:
setPrimaryInput in interface IInputType

getOptionId

public java.lang.String getOptionId()
Description copied from interface: IInputType
Returns the id of the option that is associated with this input type on the command line. If specified, the name(s) of the input files for this input type are taken from the value specified for the option.

Specified by:
getOptionId in interface IInputType
Returns:
String

setOptionId

public void setOptionId(java.lang.String id)
Description copied from interface: IInputType
Sets the id of the option that is associated with this input type on the command line. If specified, the name(s) of the input files for this input type are taken from the value specified for the option.

Specified by:
setOptionId in interface IInputType

getAssignToOptionId

public java.lang.String getAssignToOptionId()
Description copied from interface: IInputType
Returns the id of the option whose value is to be assigned to the file(s) calculated for this input type. The default is not to assign the input file(s) to a command line option but to assign the files to the ${Inputs} part of the command line. Note that the option value is only updated during build file generation and therefore could be out of sync with the project until build file generation occurs.

Specified by:
getAssignToOptionId in interface IInputType
Returns:
String

setAssignToOptionId

public void setAssignToOptionId(java.lang.String id)
Description copied from interface: IInputType
Sets the id of the option whose value is to be assigned to the file(s) calculated for this input type. The default is not to assign the input file(s) to a command line option but to assign the files to the ${Inputs} part of the command line. Note that the option value is only updated during build file generation and therefore could be out of sync with the project until build file generation occurs.

Specified by:
setAssignToOptionId in interface IInputType

getSourceContentType

public org.eclipse.core.runtime.content.IContentType getSourceContentType()
Description copied from interface: IInputType
Returns the Eclipse IContentType that describes this input type. If both the sources attribute and the sourceContentType attribute are specified, the sourceContentType will be used if it is registered in Eclipse.

Specified by:
getSourceContentType in interface IInputType
Returns:
IContentType

getSourceContentTypes

public org.eclipse.core.runtime.content.IContentType[] getSourceContentTypes()
Specified by:
getSourceContentTypes in interface IInputType

getHeaderContentTypes

public org.eclipse.core.runtime.content.IContentType[] getHeaderContentTypes()
Specified by:
getHeaderContentTypes in interface IInputType

getHeaderExtensionsAttribute

public java.lang.String[] getHeaderExtensionsAttribute()
Specified by:
getHeaderExtensionsAttribute in interface IInputType

getHeaderContentTypeIds

public java.lang.String[] getHeaderContentTypeIds()
Specified by:
getHeaderContentTypeIds in interface IInputType

getSourceContentTypeIds

public java.lang.String[] getSourceContentTypeIds()
Specified by:
getSourceContentTypeIds in interface IInputType

setHeaderContentTypeIds

public void setHeaderContentTypeIds(java.lang.String[] ids)
Specified by:
setHeaderContentTypeIds in interface IInputType

setHeaderExtensionsAttribute

public void setHeaderExtensionsAttribute(java.lang.String[] extensions)
Specified by:
setHeaderExtensionsAttribute in interface IInputType

setSourceContentTypeIds

public void setSourceContentTypeIds(java.lang.String[] ids)
Specified by:
setSourceContentTypeIds in interface IInputType

setSourceExtensionsAttribute

public void setSourceExtensionsAttribute(java.lang.String[] extensions)
Specified by:
setSourceExtensionsAttribute in interface IInputType

setSourceContentType

public void setSourceContentType(org.eclipse.core.runtime.content.IContentType type)
Description copied from interface: IInputType
Sets the Eclipse IContentType that describes this input type.

Specified by:
setSourceContentType in interface IInputType
Parameters:
type - The Eclipse content type

setSourceContentTypes

public void setSourceContentTypes(org.eclipse.core.runtime.content.IContentType[] types)

getSourceExtensionsAttribute

public java.lang.String[] getSourceExtensionsAttribute()
Description copied from interface: IInputType
Returns the list of valid source extensions from the sourceExtensions attribute. Note that this value is not used if source content type is specified and registered with Eclipse. Also, the user will not be able to modify the set of file extensions as they can when sourceContentType is specified.

Specified by:
getSourceExtensionsAttribute in interface IInputType
Returns:
String[]

setSourceExtensionsAttribute

public void setSourceExtensionsAttribute(java.lang.String extensions)
Description copied from interface: IInputType
Sets the list of valid source extensions for this input type. NOTE: The value of this attribute will NOT be used if a source content type is specified and is registered with Eclipse.

Specified by:
setSourceExtensionsAttribute in interface IInputType
Parameters:
extensions - The comma-separated list of valid file extensions - not including the separator period.

getSourceExtensions

public java.lang.String[] getSourceExtensions(ITool tool)
Description copied from interface: IInputType
Returns the list of valid source extensions for this input type. Note that the list will come from the sourceContentType if it is specified and registered with Eclipse. Otherwise the sourceExtensions attribute will be used.

Specified by:
getSourceExtensions in interface IInputType
Parameters:
tool - the tool that contains the input-type
Returns:
String[]

getSourceExtensions

public java.lang.String[] getSourceExtensions(ITool tool,
                                              org.eclipse.core.resources.IProject project)

getHeaderExtensions

public java.lang.String[] getHeaderExtensions(ITool tool)
Specified by:
getHeaderExtensions in interface IInputType

isSourceExtension

public boolean isSourceExtension(ITool tool,
                                 java.lang.String ext)
Description copied from interface: IInputType
Answers true if the input type considers the file extension to be one associated with a source file.

Specified by:
isSourceExtension in interface IInputType
Parameters:
tool - the tool that contains the input-type
ext - file extension of the source
Returns:
boolean

isExtensionElement

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

Specified by:
isExtensionElement in interface IInputType
Returns:
boolean

isDirty

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

Specified by:
isDirty in interface IInputType
Returns:
boolean

setDirty

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

Specified by:
setDirty in interface IInputType

resolveReferences

public void resolveReferences()

getManagedBuildRevision

public java.lang.String getManagedBuildRevision()
Specified by:
getManagedBuildRevision in interface IBuildObject
Overrides:
getManagedBuildRevision in class BuildObject
Returns:
Returns the managedBuildRevision.

getVersion

public org.eclipse.core.runtime.PluginVersionIdentifier getVersion()
Specified by:
getVersion in interface IBuildObject
Overrides:
getVersion in class BuildObject
Returns:
Returns the version.

setVersion

public void setVersion(org.eclipse.core.runtime.PluginVersionIdentifier version)
Specified by:
setVersion in interface IBuildObject
Overrides:
setVersion in class BuildObject
Parameters:
version - The version to set.

needsRebuild

public boolean needsRebuild()

setRebuildState

public void setRebuildState(boolean rebuild)

getRcInfo

public IResourceInfo getRcInfo(ITool tool)

getLanguageIdAttribute

public java.lang.String getLanguageIdAttribute()

getLanguageNameAttribute

public java.lang.String getLanguageNameAttribute()

getLanguageId

public java.lang.String getLanguageId(ITool tool)
Specified by:
getLanguageId in interface IInputType

getLanguageName

public java.lang.String getLanguageName(ITool tool)
Specified by:
getLanguageName in interface IInputType

getDiscoveryProfileId

public java.lang.String getDiscoveryProfileId(ITool tool)
Specified by:
getDiscoveryProfileId in interface IInputType

getDiscoveryProfileIdAttribute

public java.lang.String getDiscoveryProfileIdAttribute()

setLanguageIdAttribute

public void setLanguageIdAttribute(java.lang.String id)
Specified by:
setLanguageIdAttribute in interface IInputType

setLanguageNameAttribute

public void setLanguageNameAttribute(java.lang.String name)
Specified by:
setLanguageNameAttribute in interface IInputType

getBooleanExpressionCalculator

public BooleanExpressionApplicabilityCalculator getBooleanExpressionCalculator()

isEnabled

public boolean isEnabled(ITool tool)

hasScannerConfigSettings

public boolean hasScannerConfigSettings()

hasCustomSettings

public boolean hasCustomSettings()