Package net.ggtools.grand.filters
Class FromNodeFilter
- java.lang.Object
-
- net.ggtools.grand.filters.AbstractGraphFilter
-
- net.ggtools.grand.filters.GraphWalkFilter
-
- net.ggtools.grand.filters.FromNodeFilter
-
- All Implemented Interfaces:
GraphFilter
,GraphConsumer
,GraphProducer
public class FromNodeFilter extends GraphWalkFilter implements GraphFilter
A graph filter returning all the nodes accessible from a specific node using only forward links. For Ant, this will extract the sub graph of all targets on which a specific node depend.- Author:
- Christophe Labouisse
-
-
Field Summary
-
Fields inherited from class net.ggtools.grand.filters.AbstractGraphFilter
name
-
-
Constructor Summary
Constructors Constructor Description FromNodeFilter(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
-
FromNodeFilter
public FromNodeFilter(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()
-
-