org.eclipse.cdt.managedbuilder.internal.buildmodel
Class DefaultBuildDescriptionFactory
java.lang.Object
org.eclipse.cdt.managedbuilder.internal.buildmodel.DefaultBuildDescriptionFactory
- All Implemented Interfaces:
- IBuildDescriptionFactory
public class DefaultBuildDescriptionFactory
- extends java.lang.Object
- implements IBuildDescriptionFactory
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
createddelta
- the resource delta or null if noneflags
- 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