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

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

public class BuildDescription
extends java.lang.Object
implements IBuildDescription


Constructor Summary
BuildDescription(IConfiguration cfg)
           
 
Method Summary
 boolean checkFlags(int flags)
           
 BuildResource createResource(org.eclipse.core.runtime.IPath projPath)
           
 BuildResource createResource(org.eclipse.core.runtime.IPath location, org.eclipse.core.runtime.IPath fullPath)
           
 BuildResource createResource(org.eclipse.core.resources.IResource rc)
           
 BuildResource createResource(java.lang.String projPath)
           
 BuildStep createStep(ITool tool, IInputType type)
           
 IBuildResource getBuildResource(org.eclipse.core.runtime.IPath location)
          Returns the Build resource for the given resource location
 IBuildResource getBuildResource(org.eclipse.core.resources.IResource resource)
          Returns the Build resource for the given resource
 IBuildResource getBuildResourceForFullPath(org.eclipse.core.runtime.IPath fullPath)
           
 IConfiguration getConfiguration()
          Returns the build configuration this representation was created for
 org.eclipse.core.runtime.IPath getDefaultBuildDirFullPath()
           
 org.eclipse.core.runtime.IPath getDefaultBuildDirLocation()
          Returns the default build directory location
 org.eclipse.core.resources.IResourceDelta getDelta()
           
 java.util.Map getEnvironment()
           
 IBuildStep getInputStep()
          Returns the main input step
 java.lang.String[] getLibs(BuildStep step)
           
 IBuildStep getOutputStep()
          Returns the main output step
 org.eclipse.core.resources.IProject getProject()
           
 IBuildResource[] getResources()
          Returns all resources used in the build
 IBuildStep[] getSteps()
          Returns all build steps used in the build
 java.lang.String[] getUserObjs(BuildStep step)
           
 BuildIOType[][] removeResource(BuildResource rc)
           
 BuildResource[][] removeStep(BuildStep step)
           
 void synchRebuildState()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildDescription

public BuildDescription(IConfiguration cfg)
Method Detail

synchRebuildState

public void synchRebuildState()
                       throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getInputStep

public IBuildStep getInputStep()
Description copied from interface: IBuildDescription
Returns the main input step

Specified by:
getInputStep in interface IBuildDescription
Returns:
IBuildStep

getOutputStep

public IBuildStep getOutputStep()
Description copied from interface: IBuildDescription
Returns the main output step

Specified by:
getOutputStep in interface IBuildDescription
Returns:
IBuildStep

checkFlags

public boolean checkFlags(int flags)

removeStep

public BuildResource[][] removeStep(BuildStep step)

removeResource

public BuildIOType[][] removeResource(BuildResource rc)

getBuildResource

public IBuildResource getBuildResource(org.eclipse.core.runtime.IPath location)
Description copied from interface: IBuildDescription
Returns the Build resource for the given resource location

Specified by:
getBuildResource in interface IBuildDescription
Returns:
the IBuildResource or null if not found

getResources

public IBuildResource[] getResources()
Description copied from interface: IBuildDescription
Returns all resources used in the build

Specified by:
getResources in interface IBuildDescription
Returns:
IBuildResource[]

getConfiguration

public IConfiguration getConfiguration()
Description copied from interface: IBuildDescription
Returns the build configuration this representation was created for

Specified by:
getConfiguration in interface IBuildDescription
Returns:
IProject

getEnvironment

public java.util.Map getEnvironment()

getProject

public org.eclipse.core.resources.IProject getProject()

getLibs

public java.lang.String[] getLibs(BuildStep step)

getUserObjs

public java.lang.String[] getUserObjs(BuildStep step)

createResource

public BuildResource createResource(java.lang.String projPath)

createResource

public BuildResource createResource(org.eclipse.core.runtime.IPath projPath)

createResource

public BuildResource createResource(org.eclipse.core.resources.IResource rc)

createResource

public BuildResource createResource(org.eclipse.core.runtime.IPath location,
                                    org.eclipse.core.runtime.IPath fullPath)

getDelta

public org.eclipse.core.resources.IResourceDelta getDelta()

createStep

public BuildStep createStep(ITool tool,
                            IInputType type)

getDefaultBuildDirLocation

public org.eclipse.core.runtime.IPath getDefaultBuildDirLocation()
Description copied from interface: IBuildDescription
Returns the default build directory location

Specified by:
getDefaultBuildDirLocation in interface IBuildDescription
Returns:
IPath

getDefaultBuildDirFullPath

public org.eclipse.core.runtime.IPath getDefaultBuildDirFullPath()
Specified by:
getDefaultBuildDirFullPath in interface IBuildDescription

getSteps

public IBuildStep[] getSteps()
Description copied from interface: IBuildDescription
Returns all build steps used in the build

Specified by:
getSteps in interface IBuildDescription
Returns:
IBuildResource[]

getBuildResource

public IBuildResource getBuildResource(org.eclipse.core.resources.IResource resource)
Description copied from interface: IBuildDescription
Returns the Build resource for the given resource

Specified by:
getBuildResource in interface IBuildDescription
Returns:
the IBuildResource or null if not found

getBuildResourceForFullPath

public IBuildResource getBuildResourceForFullPath(org.eclipse.core.runtime.IPath fullPath)