net.sf.antcontrib.cpptasks.ide
Class DebugDef
DataTypenet.sf.antcontrib.cpptasks.ide.DebugDef
public final class DebugDef
extends DataType
Specifies a debugging configuration for a project.
void | addEnv(Environment.Variable var)- Add an environment variable.
|
Commandline.Argument | createArg()- Adds a command-line argument.
|
String[] | getArguments()- Returns all arguments defined by
addLine,
addValue or the argument object.
|
File | getDir()- Get the working directory of the process.
|
String | getExecutable()- Get the name of the executable program.
|
String[] | getVariables()- Get the variable list as an array.
|
void | setDir(File d)- Set the working directory of the process.
|
void | setExecutable(String value)- Set the name of the executable program.
|
DebugDef
public DebugDef()
Constructor.
addEnv
public void addEnv(Environment.Variable var)
Add an environment variable.
var - new environment variable
createArg
public Commandline.Argument createArg()
Adds a command-line argument.
- new command line argument created
getArguments
public String[] getArguments()
Returns all arguments defined by addLine,
addValue or the argument object.
- array of command line arguments, may be zero-length.
getDir
public File getDir()
Get the working directory of the process.
- the working directory of the process, may be null.
getExecutable
public String getExecutable()
Get the name of the executable program.
- the name of the executable program, may be null.
getVariables
public String[] getVariables()
Get the variable list as an array.
- array of key=value assignment strings
setDir
public void setDir(File d)
Set the working directory of the process.
d - the working directory of the process
setExecutable
public void setExecutable(String value)
Set the name of the executable program.
value - the name of the executable program
Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.