antsnest.datastructure
Interface AntProject

All Superinterfaces:
AntNode, Serializable
All Known Implementing Classes:
DefaultAntProject

public interface AntProject
extends AntNode

Represents the top node in a build file, the project node

Author:
Chris Clohosy
See Also:
AntNode

Method Summary
 String getBaseDir()
          Gets the base directory this project is working from
 String getDefault()
          Gets the default target name to execute in this project
 AntComment getHigherComment()
          Gets the comment that would be above this project node
 void setBaseDir(String basedir)
          Sets the base directory this project is working from
 void setDefault(String targetName)
          Sets the default target to execute in this project
 void setHigherComment(AntComment newComment)
          Sets the comment that would be above this project node
 
Methods inherited from interface antsnest.datastructure.AntNode
addAttribute, addAttribute, addNode, addNode, changeAttribute, cloneNode, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent
 

Method Detail

getDefault

String getDefault()
Gets the default target name to execute in this project

Returns:
a String, the default target name

setDefault

void setDefault(String targetName)
Sets the default target to execute in this project

Parameters:
targetName - the new default target name

getBaseDir

String getBaseDir()
Gets the base directory this project is working from

Returns:
a String, the base directory

setBaseDir

void setBaseDir(String basedir)
Sets the base directory this project is working from

Parameters:
basedir - the new base directory

setHigherComment

void setHigherComment(AntComment newComment)
Sets the comment that would be above this project node

Parameters:
newComment - the new comment

getHigherComment

AntComment getHigherComment()
Gets the comment that would be above this project node

Returns:
an AntComment, the comment