org.eclipse.cdt.managedbuilder.internal.buildmodel
Class DefaultBuildDescriptionFactory

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.internal.buildmodel.DefaultBuildDescriptionFactory
All Implemented Interfaces:
IBuildDescriptionFactory

public class DefaultBuildDescriptionFactory
extends java.lang.Object
implements IBuildDescriptionFactory


Method Summary
 IBuildDescription createBuildDescription(IConfiguration cfg, IConfigurationBuildState bs, org.eclipse.core.resources.IResourceDelta delta, int flags)
           
 IBuildDescription createBuildDescription(IConfiguration cfg, org.eclipse.core.resources.IResourceDelta delta, int flags)
          creates the build description
static DefaultBuildDescriptionFactory getInstance()
           
 int getSupportedMethods()
          returns the supported methods of generation the build description
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DefaultBuildDescriptionFactory getInstance()

createBuildDescription

public IBuildDescription createBuildDescription(IConfiguration cfg,
                                                org.eclipse.core.resources.IResourceDelta delta,
                                                int flags)
                                         throws org.eclipse.core.runtime.CoreException
Description copied from interface: IBuildDescriptionFactory
creates the build description

Specified by:
createBuildDescription in interface IBuildDescriptionFactory
Parameters:
cfg - the build configuration for which the description is to be created
delta - the resource delta or null if none
flags - specifies how the build description should be generated and what information it should contain. Can contain the following flags: BuildDescriptionManager.REBUILD, BuildDescriptionManager.REMOVED, BuildDescriptionManager.DEPS, BuildDescriptionManager.DEPFILES,
Returns:
IBuildDescription
Throws:
org.eclipse.core.runtime.CoreException - if the build description creation fails
See Also:
BuildDescriptionManager.REBUILD, BuildDescriptionManager.REMOVED, BuildDescriptionManager.DEPS, BuildDescriptionManager.DEPFILES

createBuildDescription

public IBuildDescription createBuildDescription(IConfiguration cfg,
                                                IConfigurationBuildState bs,
                                                org.eclipse.core.resources.IResourceDelta delta,
                                                int flags)
                                         throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getSupportedMethods

public int getSupportedMethods()
Description copied from interface: IBuildDescriptionFactory
returns the supported methods of generation the build description

Specified by:
getSupportedMethods in interface IBuildDescriptionFactory
Returns:
int
See Also:
BuildDescriptionManager.REBUILD, BuildDescriptionManager.REMOVED, BuildDescriptionManager.DEPS, BuildDescriptionManager.DEPFILES