Package net.sf.antcontrib.cpptasks.ide
Class DebugDef
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.types.DataType
-
- net.sf.antcontrib.cpptasks.ide.DebugDef
-
- All Implemented Interfaces:
java.lang.Cloneable
public final class DebugDef extends org.apache.tools.ant.types.DataType
Specifies a debugging configuration for a project.- Author:
- Curt Arnold
-
-
Constructor Summary
Constructors Constructor Description DebugDef()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEnv(org.apache.tools.ant.types.Environment.Variable var)
Add an environment variable.org.apache.tools.ant.types.Commandline.Argument
createArg()
Adds a command-line argument.java.lang.String[]
getArguments()
Returns all arguments defined byaddLine
,addValue
or the argument object.java.io.File
getDir()
Get the working directory of the process.java.lang.String
getExecutable()
Get the name of the executable program.java.lang.String[]
getVariables()
Get the variable list as an array.void
setDir(java.io.File d)
Set the working directory of the process.void
setExecutable(java.lang.String value)
Set the name of the executable program.-
Methods inherited from class org.apache.tools.ant.types.DataType
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
-
-
-
-
Method Detail
-
setExecutable
public void setExecutable(java.lang.String value)
Set the name of the executable program.- Parameters:
value
- the name of the executable program
-
getExecutable
public java.lang.String getExecutable()
Get the name of the executable program.- Returns:
- the name of the executable program, may be null.
-
setDir
public void setDir(java.io.File d)
Set the working directory of the process.- Parameters:
d
- the working directory of the process
-
getDir
public java.io.File getDir()
Get the working directory of the process.- Returns:
- the working directory of the process, may be null.
-
addEnv
public void addEnv(org.apache.tools.ant.types.Environment.Variable var)
Add an environment variable.- Parameters:
var
- new environment variable
-
getVariables
public java.lang.String[] getVariables()
Get the variable list as an array.- Returns:
- array of key=value assignment strings
-
createArg
public org.apache.tools.ant.types.Commandline.Argument createArg()
Adds a command-line argument.- Returns:
- new command line argument created
-
getArguments
public java.lang.String[] getArguments()
Returns all arguments defined byaddLine
,addValue
or the argument object.- Returns:
- array of command line arguments, may be zero-length.
-
-