Package jetbrains.buildServer.util.graph
Interface DFSVisitor<T>
-
- All Known Implementing Classes:
DFSVisitorAdapter
public interface DFSVisitor<T>- Author:
- dmitry.neverov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandiscover(T node)Called when the node first discoveredvoidfinish(T node)Called when node and all its parents are processed
-
-
-
Method Detail
-
discover
boolean discover(@NotNull T node)Called when the node first discovered- Parameters:
node- discovered node- Returns:
- true if node's parents should be added to the search, false otherwise
-
finish
void finish(@NotNull T node)Called when node and all its parents are processed- Parameters:
node- processed node
-
-