|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectantsnest.datastructure.DefaultAntNode
antsnest.datastructure.DefaultAntProject
public class DefaultAntProject
Implementation of AntProject
AntProject,
Serialized Form| Constructor Summary | |
|---|---|
DefaultAntProject()
Constructs a new project |
|
| Method Summary | |
|---|---|
AntNode |
cloneNode(IDPool idPool)
Gets a clone of this node |
String |
getBaseDir()
Gets the base directory this project is working from |
String |
getDefault()
Gets the default target to execute in this project |
AntComment |
getHigherComment()
Gets the comment that would be above this project node |
String |
getName()
Gets the name of this node |
void |
removeNode(AntNode node)
Removes a node from this 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 |
void |
setName(String name)
Sets the name of this node |
String |
toString()
Provides a string representation of this project |
| Methods inherited from class antsnest.datastructure.DefaultAntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, equals, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, setData, setDescription, setIDPool, setNodeID, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface antsnest.datastructure.AntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, setData, setDescription, setIDPool, setNodeID, setParent |
| Constructor Detail |
|---|
public DefaultAntProject()
| Method Detail |
|---|
public String getName()
getName in interface AntNodegetName in class DefaultAntNodepublic void setName(String name)
setName in interface AntNodesetName in class DefaultAntNodename - the new namepublic String getDefault()
getDefault in interface AntProjectpublic void setDefault(String targetName)
setDefault in interface AntProjecttargetName - the new default target namepublic String getBaseDir()
getBaseDir in interface AntProjectpublic void setBaseDir(String basedir)
setBaseDir in interface AntProjectbasedir - the new base directorypublic String toString()
toString in class Objectpublic AntNode cloneNode(IDPool idPool)
cloneNode in interface AntNodecloneNode in class DefaultAntNodeidPool - an ID pool to use
public void setHigherComment(AntComment newComment)
setHigherComment in interface AntProjectnewComment - the new commentpublic AntComment getHigherComment()
getHigherComment in interface AntProjectpublic void removeNode(AntNode node)
removeNode in interface AntNoderemoveNode in class DefaultAntNodenode - the node to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||