net.ggtools.grand.ant
Class AntTargetNode
java.lang.Object
net.ggtools.grand.graph.AttributeManager
net.ggtools.grand.graph.NodeImpl
net.ggtools.grand.ant.AntTargetNode
- All Implemented Interfaces:
- GraphObject, Node
public class AntTargetNode
- extends NodeImpl
A node implementation specialized for ant target.
- Author:
- Christophe Labouisse
| Methods inherited from class net.ggtools.grand.graph.NodeImpl |
addBackLink, addLink, equals, getBackLinks, getDescription, getGraph, getLinks, getName, getSource, hashCode, removeBackLink, removeLink, setDescription, setSource, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SOURCE_ATTRIBUTE
public static final int SOURCE_ATTRIBUTE
- See Also:
- Constant Field Values
SOURCE_INKNOWN
public static final int SOURCE_INKNOWN
- See Also:
- Constant Field Values
SOURCE_MARKUP
public static final int SOURCE_MARKUP
- See Also:
- Constant Field Values
SOURCE_TEXT
public static final int SOURCE_TEXT
- See Also:
- Constant Field Values
AntTargetNode
public AntTargetNode(java.lang.String name,
Graph graph)
- Parameters:
name - graph -
accept
public void accept(NodeVisitor visitor)
- Description copied from interface:
Node
- Accepts a visitor. The implementation should call the appropriate
visitNode method of the visitor.
- Specified by:
accept in interface Node- Overrides:
accept in class NodeImpl
getBuildFile
public final java.lang.String getBuildFile()
- Returns this node build file or
null if the build file is
the current project.
- Returns:
- Returns the buildFile.
getIfCondition
public final java.lang.String getIfCondition()
- Returns the if condition for the target or
null
if none defined.
- Returns:
- Returns the if condition.
getRichSource
public final AntTargetNode.SourceElement[] getRichSource()
- Returns:
- Returns the richSource.
getUnlessCondition
public final java.lang.String getUnlessCondition()
- Returns the unless condition for the target or
null if none defined.
- Returns:
- Returns the unless condition.
setRichSource
public final void setRichSource(AntTargetNode.SourceElement[] richSource)
- Parameters:
richSource - The richSource to set.
setBuildFile
final void setBuildFile(java.lang.String buildFile)
- Parameters:
buildFile - The buildFile to set.
setIfCondition
final void setIfCondition(java.lang.String ifCondition)
- Parameters:
ifCondition - The ifCondition to set.
setUnlessCondition
final void setUnlessCondition(java.lang.String unlessCondition)
- Parameters:
unlessCondition - The unlessCondition to set.
Copyright © 2004-2005 ggTools. All Rights Reserved.