Package net.ggtools.grand.filters
Class ToNodeFilter
- java.lang.Object
-
- net.ggtools.grand.filters.AbstractGraphFilter
-
- net.ggtools.grand.filters.GraphWalkFilter
-
- net.ggtools.grand.filters.ToNodeFilter
-
- All Implemented Interfaces:
GraphFilter
,GraphConsumer
,GraphProducer
public class ToNodeFilter extends GraphWalkFilter
A graph filter returning all the nodes accessible from a specific node using only backward links. For Ant, this will extract the sub graph of all targets depending on a specific target.- Author:
- Christophe Labouisse
-
-
Field Summary
-
Fields inherited from class net.ggtools.grand.filters.AbstractGraphFilter
name
-
-
Constructor Summary
Constructors Constructor Description ToNodeFilter(String nodeName)
Creates a new filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkFinder
getLinkFinder()
Method getLinkFinder.-
Methods inherited from class net.ggtools.grand.filters.GraphWalkFilter
getFilteredNodes
-
Methods inherited from class net.ggtools.grand.filters.AbstractGraphFilter
getGraph, getGraphProducer, getName, getProducersGraph, setProducer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.ggtools.grand.graph.GraphConsumer
setProducer
-
Methods inherited from interface net.ggtools.grand.filters.GraphFilter
getName
-
Methods inherited from interface net.ggtools.grand.graph.GraphProducer
getGraph
-
-
-
-
Constructor Detail
-
ToNodeFilter
public ToNodeFilter(String nodeName)
Creates a new filter.- Parameters:
nodeName
- node to search from.
-
-
Method Detail
-
getLinkFinder
public final LinkFinder getLinkFinder()
Method getLinkFinder.- Specified by:
getLinkFinder
in classGraphWalkFilter
- Returns:
- LinkFinder
- See Also:
GraphWalkFilter.getLinkFinder()
-
-