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

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

public class CommandBuilder
extends java.lang.Object
implements IBuildModelBuilder

This class implements the IBuildCommand building To build the given command, create an instance of this class and invoke the build method NOTE: This class is subject to change and discuss, and is currently available in experimental mode only


Field Summary
 
Fields inherited from interface org.eclipse.cdt.managedbuilder.internal.buildmodel.IBuildModelBuilder
STATUS_CANCELLED, STATUS_ERROR_BUILD, STATUS_ERROR_LAUNCH, STATUS_OK
 
Constructor Summary
CommandBuilder(IBuildCommand cmd, IResourceRebuildStateContainer cr)
           
 
Method Summary
 int build(java.io.OutputStream out, java.io.OutputStream err, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 java.lang.String getErrMsg()
           
 int getNumCommands()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandBuilder

public CommandBuilder(IBuildCommand cmd,
                      IResourceRebuildStateContainer cr)
Method Detail

build

public int build(java.io.OutputStream out,
                 java.io.OutputStream err,
                 org.eclipse.core.runtime.IProgressMonitor monitor)
Specified by:
build in interface IBuildModelBuilder

getErrMsg

public java.lang.String getErrMsg()

getNumCommands

public int getNumCommands()