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

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

public class BuildStep
extends java.lang.Object
implements IBuildStep


Method Summary
 BuildIOType createIOType(boolean input, boolean primary, IBuildObject ioType)
           
 IBuildDescription getBuildDescription()
          returns a build description that holds this step
 IBuildCommand[] getCommands(org.eclipse.core.runtime.IPath cwd, java.util.Map inputArgValues, java.util.Map outputArgValues, boolean resolveAll)
          Returns the set of commands used for building the step NOTE: This is a preliminary method
 IBuildIOType[] getInputIOTypes()
          Returns an array of input types for this step
 IBuildResource[] getInputResources()
          Returns the complete set of input resources for this step
 IInputType getInputType()
           
 BuildIOType getIOTypeForType(IBuildObject ioType, boolean input)
           
 ITool getLibTool()
           
 IBuildIOType[] getOutputIOTypes()
          Returns an array of output types for this step
 IBuildResource[] getOutputResources()
          Returns the complete set of output resources for this step
 BuildIOType[] getPrimaryTypes(boolean input)
           
 IBuildResource[] getResources(boolean input)
           
 ITool getTool()
           
 boolean isRemoved()
          Returns true if the step is removed (due to removal of the project resources that were ised in thie action)
 boolean needsRebuild()
          Returns true if the step needs rebuild, false - otherwise
 BuildResource[] removeIOType(BuildIOType type)
           
 void removeResource(BuildIOType type, BuildResource rc, boolean rmTypeIfEmpty)
           
 void setLibTool(ITool libTool)
           
 void setRebuildState(boolean rebuild)
           
 void setRemoved()
           
 void setTool(ITool tool)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInputIOTypes

public IBuildIOType[] getInputIOTypes()
Description copied from interface: IBuildStep
Returns an array of input types for this step

Specified by:
getInputIOTypes in interface IBuildStep
Returns:
IBuildIOType[]
See Also:
IBuildIOType

getOutputIOTypes

public IBuildIOType[] getOutputIOTypes()
Description copied from interface: IBuildStep
Returns an array of output types for this step

Specified by:
getOutputIOTypes in interface IBuildStep
Returns:
IBuildIOType[]
See Also:
IBuildIOType

needsRebuild

public boolean needsRebuild()
Description copied from interface: IBuildStep
Returns true if the step needs rebuild, false - otherwise

Specified by:
needsRebuild in interface IBuildStep
Returns:
boolean

setRebuildState

public void setRebuildState(boolean rebuild)

removeIOType

public BuildResource[] removeIOType(BuildIOType type)

removeResource

public void removeResource(BuildIOType type,
                           BuildResource rc,
                           boolean rmTypeIfEmpty)

createIOType

public BuildIOType createIOType(boolean input,
                                boolean primary,
                                IBuildObject ioType)

setTool

public void setTool(ITool tool)

getTool

public ITool getTool()

getPrimaryTypes

public BuildIOType[] getPrimaryTypes(boolean input)

getIOTypeForType

public BuildIOType getIOTypeForType(IBuildObject ioType,
                                    boolean input)

getInputResources

public IBuildResource[] getInputResources()
Description copied from interface: IBuildStep
Returns the complete set of input resources for this step

Specified by:
getInputResources in interface IBuildStep
Returns:
IBuildResource[]

getOutputResources

public IBuildResource[] getOutputResources()
Description copied from interface: IBuildStep
Returns the complete set of output resources for this step

Specified by:
getOutputResources in interface IBuildStep
Returns:
IBuildResource[]

getResources

public IBuildResource[] getResources(boolean input)

getCommands

public IBuildCommand[] getCommands(org.eclipse.core.runtime.IPath cwd,
                                   java.util.Map inputArgValues,
                                   java.util.Map outputArgValues,
                                   boolean resolveAll)
Description copied from interface: IBuildStep
Returns the set of commands used for building the step NOTE: This is a preliminary method

Specified by:
getCommands in interface IBuildStep
Returns:

isRemoved

public boolean isRemoved()
Description copied from interface: IBuildStep
Returns true if the step is removed (due to removal of the project resources that were ised in thie action)

Specified by:
isRemoved in interface IBuildStep
Returns:
boolean

setRemoved

public void setRemoved()

getBuildDescription

public IBuildDescription getBuildDescription()
Description copied from interface: IBuildStep
returns a build description that holds this step

Specified by:
getBuildDescription in interface IBuildStep
Returns:
IBuildDescription

getInputType

public IInputType getInputType()

setLibTool

public void setLibTool(ITool libTool)

getLibTool

public ITool getLibTool()