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

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

public class BuildCommand
extends java.lang.Object
implements IBuildCommand


Constructor Summary
BuildCommand(org.eclipse.core.runtime.IPath cmd, java.lang.String[] args, java.util.Map env, org.eclipse.core.runtime.IPath cwd, BuildStep step)
           
 
Method Summary
 java.lang.String[] getArgs()
          Returns the array of arguments to be passed to the executable
 org.eclipse.core.runtime.IPath getCommand()
          returns the executable path the paths could be either relative or absolute
 org.eclipse.core.runtime.IPath getCWD()
          Returns the working directory to be used for the process
 java.util.Map getEnvironment()
          Returns the Map representing the environment to be used for the executable process The map conntains the String to String pairs representing the variable name and value respectively
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildCommand

public BuildCommand(org.eclipse.core.runtime.IPath cmd,
                    java.lang.String[] args,
                    java.util.Map env,
                    org.eclipse.core.runtime.IPath cwd,
                    BuildStep step)
Method Detail

getCommand

public org.eclipse.core.runtime.IPath getCommand()
Description copied from interface: IBuildCommand
returns the executable path the paths could be either relative or absolute

Specified by:
getCommand in interface IBuildCommand
Returns:
IPath

getArgs

public java.lang.String[] getArgs()
Description copied from interface: IBuildCommand
Returns the array of arguments to be passed to the executable

Specified by:
getArgs in interface IBuildCommand
Returns:
String[]

getEnvironment

public java.util.Map getEnvironment()
Description copied from interface: IBuildCommand
Returns the Map representing the environment to be used for the executable process The map conntains the String to String pairs representing the variable name and value respectively

Specified by:
getEnvironment in interface IBuildCommand
Returns:
Map

getCWD

public org.eclipse.core.runtime.IPath getCWD()
Description copied from interface: IBuildCommand
Returns the working directory to be used for the process

Specified by:
getCWD in interface IBuildCommand
Returns:
IPath