net.sf.antcontrib.cpptasks.ide

Class DebugDef

public final class DebugDef extends DataType

Specifies a debugging configuration for a project.

Author: Curt Arnold

Constructor Summary
DebugDef()
Constructor.
Method Summary
voidaddEnv(Variable var)
Add an environment variable.
ArgumentcreateArg()
Adds a command-line argument.
String[]getArguments()
Returns all arguments defined by addLine, addValue or the argument object.
FilegetDir()
Get the working directory of the process.
StringgetExecutable()
Get the name of the executable program.
String[]getVariables()
Get the variable list as an array.
voidsetDir(File d)
Set the working directory of the process.
voidsetExecutable(String value)
Set the name of the executable program.

Constructor Detail

DebugDef

public DebugDef()
Constructor.

Method Detail

addEnv

public void addEnv(Variable var)
Add an environment variable.

Parameters: var new environment variable

createArg

public Argument createArg()
Adds a command-line argument.

Returns: new command line argument created

getArguments

public String[] getArguments()
Returns all arguments defined by addLine, addValue or the argument object.

Returns: array of command line arguments, may be zero-length.

getDir

public File getDir()
Get the working directory of the process.

Returns: the working directory of the process, may be null.

getExecutable

public String getExecutable()
Get the name of the executable program.

Returns: the name of the executable program, may be null.

getVariables

public String[] getVariables()
Get the variable list as an array.

Returns: array of key=value assignment strings

setDir

public void setDir(File d)
Set the working directory of the process.

Parameters: d the working directory of the process

setExecutable

public void setExecutable(String value)
Set the name of the executable program.

Parameters: value the name of the executable program

Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.